From: Martin Kaiser Date: Sat, 16 Oct 2021 17:23:44 +0000 (+0200) Subject: staging: r8188eu: remove unused components in pwrctrl_priv X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8f35a0b56927953ef8c5e0fe1614e30fc14a50b0;p=linux.git 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 Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20211016172345.23114-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/include/rtw_pwrctrl.h b/drivers/staging/r8188eu/include/rtw_pwrctrl.h index 47a20702e3763..04236e42fbf90 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;