staging: r8188eu: two simple cleanups
cover staging: r8188eu: two simple cleanups
This set removes an unused enum and unused constants from the enum hw_variables.
Michael Straube (2):
staging: r8188eu: remove unused enum
staging: r8188eu: clean up enum hw_variables
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 8 -------- drivers/staging/r8188eu/include/hal_intf.h | 17 ----------------- 2 files changed, 25 deletions(-)
Signature · 1 line
2.35.1
PATCH 1/2 staging: r8188eu: remove unused enum
Remove an unused enum from rtl8188e_hal_init.c.
Signed-off-by Michael Straube <[email protected]>
--- drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 8 -------- 1 file changed, 8 deletions(-)
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +0 -8
@@ -336,14 +336,6 @@ int rtl8188e_IOL_exec_cmds_sync(struct adapter *adapter, struct xmit_frame *xmitreturn ret; } -/* */ -/* Efuse related code */ -/* */ -enum { -VOLTAGE_V25 =0x03 , -LDOE25_SHIFT =28 , - }; -void rtl8188e_EfusePowerSwitch (struct adapter *pAdapter,u8 PwrState) {u16 tmpV16;
Signature · 1 line
2.35.1
PATCH 2/2 staging: r8188eu: clean up enum hw_variables
In reply to Michael StraubeRemove unused constants from enum hw_variables.
Signed-off-by Michael Straube <[email protected]>
--- drivers/staging/r8188eu/include/hal_intf.h | 17 ----------------- 1 file changed, 17 deletions(-)
drivers/staging/r8188eu/include/hal_intf.h +0 -17
@@ -11,7 +11,6 @@enum hw_variables {HW_VAR_SET_OPMODE ,HW_VAR_BSSID , -HW_VAR_INIT_RTS_RATE ,HW_VAR_BASIC_RATE ,HW_VAR_CORRECT_TSF ,HW_VAR_MLME_DISCONNECT ,
@@ -25,7 +24,6 @@ enum hw_variables {HW_VAR_DM_FUNC_OP ,HW_VAR_DM_FUNC_SET ,HW_VAR_DM_FUNC_CLR , -HW_VAR_CAM_READ ,HW_VAR_AC_PARAM_BE ,HW_VAR_ACM_CTRL , HW_VAR_AMPDU_MIN_SPACE,
@@ -35,24 +33,9 @@ enum hw_variables {HW_VAR_H2C_FW_JOINBSSRPT ,HW_VAR_FWLPS_RF_ON ,HW_VAR_H2C_FW_P2P_PS_OFFLOAD , -HW_VAR_TDLS_WRCR , -HW_VAR_TDLS_INIT_CH_SEN , -HW_VAR_TDLS_RS_RCR , -HW_VAR_TDLS_DONE_CH_SEN ,HW_VAR_INITIAL_GAIN , -HW_VAR_BT_SET_COEXIST , -HW_VAR_BT_ISSUE_DELBA , -HW_VAR_ANTENNA_DIVERSITY_LINK ,HW_VAR_ANTENNA_DIVERSITY_SELECT , - HW_VAR_SWITCH_EPHY_WoWLAN, -HW_VAR_EFUSE_USAGE , -HW_VAR_EFUSE_BT_USAGE , -HW_VAR_EFUSE_BT_BYTES ,HW_VAR_FIFO_CLEARN_UP , -/* The valid upper nav range for the HW updating, if the true value is -* larger than the upper range, the HW won't update it. */ -/* Unit in microsecond. 0 means disable this function. */ -HW_VAR_NAV_UPPER ,HW_VAR_RPT_TIMER_SETTING ,HW_VAR_TX_RPT_MAX_MACID , HW_VAR_H2C_MEDIA_STATUS_RPT,
Signature · 1 line
2.35.1