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)
commit2f43a4e87a7b82d62778236bd71c18347a2e91bb
tree420cab3ad403ebdf31f86ae6037a1a9a41fb5292
parent8f18397277308220e7079fadaf71d5d9c72c71c5
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