staging: r8188eu: remove CONFIG_BT_COEXIST
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
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
@@ -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
PATCH 2/2 staging: r8188eu: remove BT_COEXIST settings from Makefile
In reply to Martin KaiserCONFIG_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
@@ -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
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 inpwrctrl_priv
staging: r8188eu: removeBT_COEXISTsettings fromMakefiledrivers/staging/r8188eu/Makefile | 5 ----- drivers/staging/r8188eu/include/rtw_pwrctrl.h | 4 ---- 2 files changed, 9 deletions(-)
For both patches.