* [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST
@ 2021-10-16 17:23 Martin Kaiser
2021-10-16 17:23 ` [PATCH 1/2] staging: r8188eu: remove unused components in pwrctrl_priv Martin Kaiser
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Martin Kaiser @ 2021-10-16 17:23 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Larry Finger, Phillip Potter, Michael Straube, linux-staging,
linux-kernel, 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".
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(-)
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] staging: r8188eu: remove unused components in pwrctrl_priv
2021-10-16 17:23 [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST Martin Kaiser
@ 2021-10-16 17:23 ` Martin Kaiser
2021-10-16 17:23 ` [PATCH 2/2] staging: r8188eu: remove BT_COEXIST settings from Makefile Martin Kaiser
2021-10-17 12:00 ` [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST Michael Straube
2 siblings, 0 replies; 4+ messages in thread
From: Martin Kaiser @ 2021-10-16 17:23 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Larry Finger, Phillip Potter, Michael Straube, linux-staging,
linux-kernel, Martin Kaiser
CONFIG_BT_COEXIST is never set. Remove two variables of
struct pwrctrl_priv that depend on CONFIG_BT_COEXIST,
they're not used.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/include/rtw_pwrctrl.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/r8188eu/include/rtw_pwrctrl.h b/drivers/staging/r8188eu/include/rtw_pwrctrl.h
index 47a20702e376..04236e42fbf9 100644
--- a/drivers/staging/r8188eu/include/rtw_pwrctrl.h
+++ b/drivers/staging/r8188eu/include/rtw_pwrctrl.h
@@ -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;
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] staging: r8188eu: remove BT_COEXIST settings from Makefile
2021-10-16 17:23 [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST Martin Kaiser
2021-10-16 17:23 ` [PATCH 1/2] staging: r8188eu: remove unused components in pwrctrl_priv Martin Kaiser
@ 2021-10-16 17:23 ` Martin Kaiser
2021-10-17 12:00 ` [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST Michael Straube
2 siblings, 0 replies; 4+ messages in thread
From: Martin Kaiser @ 2021-10-16 17:23 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Larry Finger, Phillip Potter, Michael Straube, linux-staging,
linux-kernel, Martin Kaiser
CONFIG_BT_COEXIST is disabled and not used outside of the Makefile.
Remove the settings in the Makefile as well.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
drivers/staging/r8188eu/Makefile | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/r8188eu/Makefile b/drivers/staging/r8188eu/Makefile
index d63fad20e9d2..1e0cb819f7f3 100644
--- a/drivers/staging/r8188eu/Makefile
+++ b/drivers/staging/r8188eu/Makefile
@@ -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
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST
2021-10-16 17:23 [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST Martin Kaiser
2021-10-16 17:23 ` [PATCH 1/2] staging: r8188eu: remove unused components in pwrctrl_priv Martin Kaiser
2021-10-16 17:23 ` [PATCH 2/2] staging: r8188eu: remove BT_COEXIST settings from Makefile Martin Kaiser
@ 2021-10-17 12:00 ` Michael Straube
2 siblings, 0 replies; 4+ messages in thread
From: Michael Straube @ 2021-10-17 12:00 UTC (permalink / raw)
To: Martin Kaiser, Greg Kroah-Hartman
Cc: Larry Finger, Phillip Potter, linux-staging, linux-kernel
On 10/16/21 19:23, Martin Kaiser wrote:
> 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(-)
>
For both patches.
Acked-by: Michael Straube <straube.linux@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-10-17 12:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-16 17:23 [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST Martin Kaiser
2021-10-16 17:23 ` [PATCH 1/2] staging: r8188eu: remove unused components in pwrctrl_priv Martin Kaiser
2021-10-16 17:23 ` [PATCH 2/2] staging: r8188eu: remove BT_COEXIST settings from Makefile Martin Kaiser
2021-10-17 12:00 ` [PATCH 0/2] staging: r8188eu: remove CONFIG_BT_COEXIST Michael Straube
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).