]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: CurrentCckTxPwrIdx is set but not used
authorMartin Kaiser <martin@kaiser.cx>
Sat, 8 Jan 2022 12:49:56 +0000 (13:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:18:15 +0000 (16:18 +0100)
commit4e11f944b6d707654f2cc447e9cfe052c8c5f33e
tree83dfd13f8e59424c87935baa4cb2d878921cecc3
parent2235eb6d99a333e995ed8d45ed627505c1b0920c
staging: r8188eu: CurrentCckTxPwrIdx is set but not used

CurrentCckTxPwrIdx in struct hal_data_8188e is set but not used.
It can be removed.

The phy_PowerIndexCheck88E function is now empty. Remove it as well.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220108124959.313215-10-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c
drivers/staging/r8188eu/include/rtl8188e_hal.h