diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-01-08 13:49:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 16:18:15 +0100 |
commit | e0d4a5e3b5512f2454b5377be84227ed627abf60 (patch) | |
tree | 83dfd13f8e59424c87935baa4cb2d878921cecc3 /drivers/staging/r8188eu/include/rtl8188e_hal.h | |
parent | b6ff06063d66e073648d480b92fcb619b9d8900d (diff) | |
download | linux-stable-e0d4a5e3b5512f2454b5377be84227ed627abf60.tar.gz linux-stable-e0d4a5e3b5512f2454b5377be84227ed627abf60.tar.bz2 linux-stable-e0d4a5e3b5512f2454b5377be84227ed627abf60.zip |
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>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtl8188e_hal.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtl8188e_hal.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h index fd2ee1739f88..a24cdbfa83de 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_hal.h +++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h @@ -176,9 +176,6 @@ struct hal_data_8188e { u8 PwrGroupHT20[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; u8 PwrGroupHT40[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; - /* The current Tx Power Level */ - u8 CurrentCckTxPwrIdx; - /* Read/write are allow for following hardware information variables */ u8 pwrGroupCnt; u32 MCSTxPowerLevelOriginalOffset[MAX_PG_GROUP][16]; |