summaryrefslogtreecommitdiff
path: root/drivers/staging/r8188eu
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2021-10-16 19:23:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-18 16:40:48 +0200
commit8f35a0b56927953ef8c5e0fe1614e30fc14a50b0 (patch)
tree5678a06e09a558225745998c53141cce3de9fe89 /drivers/staging/r8188eu
parent9b6abb874aa6404d977976bd3a94cf291907c5a4 (diff)
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. Acked-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211016172345.23114-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu')
-rw-r--r--drivers/staging/r8188eu/include/rtw_pwrctrl.h4
1 files changed, 0 insertions, 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;