staging: r8188eu: remove local variable Indexforchannel
authorMichael Straube <straube.linux@gmail.com>
Sun, 29 Aug 2021 17:56:23 +0000 (19:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:44 +0000 (08:49 +0200)
commit3839c21e0c0d673c32b0403309016db45e09202b
tree0d43d9588e05fa0a2e4965d5a2cdffa934185c9c
parentf94cef962523ddd864ad8d047135022c5df1e1e7
staging: r8188eu: remove local variable Indexforchannel

The local variable Indexforchannel in function
odm_TXPowerTrackingCallback_ThermalMeter_8188E() is initilaized to 0
and never changed. Remove the variable and replace its usage with 0.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210829175624.5915-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c