staging: r8188eu: remove constant rf variable
authorMartin Kaiser <martin@kaiser.cx>
Sat, 5 Feb 2022 11:37:38 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 09:17:57 +0000 (10:17 +0100)
commit246c4680a94ec0844053d4f7cfe2aa923e063a2c
treea210e3b2c5a9b47ac84e528b3500ee065937a75e
parent28ba3b7bfaf48559ab59ab70ab34d909820a76ff
staging: r8188eu: remove constant rf variable

The rf variable in odm_TXPowerTrackingCallback_ThermalMeter_8188E
is always 1. The for loops that use rf will be executed only once.

We can remove the variable and the loops.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220205113741.379070-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c