[PATCH 0/2] staging: r8188eu: two simple cleanups

Subsystems: staging subsystem, the rest · Maintainers: Greg Kroah-Hartman, Linus Torvalds

Series: 2 patches touching 2 files, +0/-25

STALE1722d LANDED

Status: Landed in mainline.

3 messages, 1 author, 2022-02-09 · open the first message on its own page

[PATCH 0/2] staging: r8188eu: two simple cleanups

From: Michael Straube <hidden>
Date: 2022-02-09 07:36:34

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(-)

-- 
2.35.1

[PATCH 1/2] staging: r8188eu: remove unused enum

From: Michael Straube <hidden>
Date: 2022-02-09 07:36:38

Remove an unused enum from rtl8188e_hal_init.c.

Signed-off-by: Michael Straube <redacted>
---
 drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 8 --------
 1 file changed, 8 deletions(-)
diff --git a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c
index b3ae358d1143..8fe74e21992e 100644
--- a/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c
+++ b/drivers/staging/r8188eu/hal/rtl8188e_hal_init.c
@@ -336,14 +336,6 @@ int rtl8188e_IOL_exec_cmds_sync(struct adapter *adapter, struct xmit_frame *xmit
 	return ret;
 }
 
-/*  */
-/*			Efuse related code */
-/*  */
-enum{
-		VOLTAGE_V25						= 0x03,
-		LDOE25_SHIFT						= 28,
-	};
-
 void rtl8188e_EfusePowerSwitch(struct adapter *pAdapter, u8 PwrState)
 {
 	u16	tmpV16;
-- 
2.35.1

[PATCH 2/2] staging: r8188eu: clean up enum hw_variables

From: Michael Straube <hidden>
Date: 2022-02-09 07:36:42

Remove unused constants from enum hw_variables.

Signed-off-by: Michael Straube <redacted>
---
 drivers/staging/r8188eu/include/hal_intf.h | 17 -----------------
 1 file changed, 17 deletions(-)
diff --git a/drivers/staging/r8188eu/include/hal_intf.h b/drivers/staging/r8188eu/include/hal_intf.h
index e8731e2668f6..8e204d61cc53 100644
--- a/drivers/staging/r8188eu/include/hal_intf.h
+++ b/drivers/staging/r8188eu/include/hal_intf.h
@@ -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,
-- 
2.35.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help