staging: r8188eu: remove unused components in pwrctrl_priv
authorMartin Kaiser <martin@kaiser.cx>
Sat, 16 Oct 2021 17:23:44 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Oct 2021 14:40:48 +0000 (16:40 +0200)
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>
drivers/staging/r8188eu/include/rtw_pwrctrl.h

index 47a2070..04236e4 100644 (file)
@@ -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;