Skip to contentSkip to conversation

staging: r8188eu: remove CONFIG_BT_COEXIST

PATCH In review Martin Kaiser 2 participants 4 messages Oct 16, 2021 – Oct 17, 2021 Staging

lore
Share & tools
lore
#0 lore raw

cover staging: r8188eu: remove CONFIG_BT_COEXIST

Remove the remaining code for CONFIG_BT_COEXIST, which is not used for this driver.

This series should be applied on top of "staging: r8188eu: another round of removals".

Martin Kaiser (2):
staging: r8188eu: remove unused components in pwrctrl_priv
staging: r8188eu: remove BT_COEXIST settings from Makefile

 drivers/staging/r8188eu/Makefile              | 5 -----
 drivers/staging/r8188eu/include/rtw_pwrctrl.h | 4 ----
 2 files changed, 9 deletions(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/2 staging: r8188eu: remove unused components in pwrctrl_priv

CONFIG_BT_COEXIST is never set. Remove two variables of struct pwrctrl_priv that depend on CONFIG_BT_COEXIST, they're not used.

---
 drivers/staging/r8188eu/include/rtw_pwrctrl.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/staging/r8188eu/include/rtw_pwrctrl.h +0 -4
index 47a20702e376..04236e42fbf9 100644
@@ -97,10 +97,6 @@ struct pwrctrl_priv {
 
 	u8		bInternalAutoSuspend;
 	u8		bInSuspend;
-#ifdef	CONFIG_BT_COEXIST
-	u8		bAutoResume;
-	u8		autopm_cnt;
-#endif
 	u8		bSupportRemoteWakeup;
 	struct timer_list pwr_state_check_timer;
 	int		pwr_state_check_interval;
Signature · 1 line
2.20.1
#2 lore raw

PATCH 2/2 staging: r8188eu: remove BT_COEXIST settings from Makefile

In reply to Martin Kaiser

CONFIG_BT_COEXIST is disabled and not used outside of the Makefile. Remove the settings in the Makefile as well.

---
 drivers/staging/r8188eu/Makefile | 5 -----
 1 file changed, 5 deletions(-)
drivers/staging/r8188eu/Makefile +0 -5
index d63fad20e9d2..1e0cb819f7f3 100644
@@ -4,7 +4,6 @@ EXTRA_CFLAGS += -O1
 
 ccflags-y += -D__CHECK_ENDIAN__
 
-CONFIG_BT_COEXIST = n
 CONFIG_WOWLAN = n
 
 OUTSRC_FILES :=				\
@@ -53,10 +52,6 @@ _OS_INTFS_FILES :=				\
 
 _HAL_INTFS_FILES += $(OUTSRC_FILES)
 
-ifeq ($(CONFIG_BT_COEXIST), y)
-EXTRA_CFLAGS += -DCONFIG_BT_COEXIST
-endif
-
 ifeq ($(CONFIG_WOWLAN), y)
 EXTRA_CFLAGS += -DCONFIG_WOWLAN
 endif
Signature · 1 line
2.20.1
Acked-by on the v1 series
#3 lore raw
In reply to Martin Kaiser
Quoted 6 lines · Martin Kaiser

Remove the remaining code for CONFIG_BT_COEXIST, which is not used for this driver.

This series should be applied on top of "staging: r8188eu: another round of removals".

Quoted 8 lines

Martin Kaiser (2):
staging: r8188eu: remove unused components in pwrctrl_priv
staging: r8188eu: remove BT_COEXIST settings from Makefile

  drivers/staging/r8188eu/Makefile              | 5 -----
  drivers/staging/r8188eu/include/rtw_pwrctrl.h | 4 ----
  2 files changed, 9 deletions(-)

For both patches.