]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove TxCount from getTxPowerIndex88E()
authorMichael Straube <straube.linux@gmail.com>
Sun, 28 Nov 2021 17:09:19 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Dec 2021 14:13:36 +0000 (15:13 +0100)
commit5ca4555caba611a58b44d29035536911de1173b4
tree420cab3ad403ebdf31f86ae6037a1a9a41fb5292
parent64939a8f7d18a5669987179c18571ad06f722eb0
staging: r8188eu: remove TxCount from getTxPowerIndex88E()

In getTxPowerIndex88E() the variable TxCount is set to RF_PATH_A and
never changed. Remove the unnecessary extra variable and replace its
usage with RF_PATH_A.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211128170924.5874-6-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c