From: Martin Kaiser Date: Mon, 13 Sep 2021 18:51:09 +0000 (+0200) Subject: staging: r8188eu: remove unused variable cpwm_tog X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1bc4e56bed3824c1ced0df4579dbdf3c542269fc;p=linux.git staging: r8188eu: remove unused variable cpwm_tog cpwm_tog in struct pwrctrl_priv is not used. Remove it. Signed-off-by: Martin Kaiser Link: https://lore.kernel.org/r/20210913185110.3065-8-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 9e4b4eef4d27f..08d414aa9ef5b 100644 --- a/drivers/staging/r8188eu/include/rtw_pwrctrl.h +++ b/drivers/staging/r8188eu/include/rtw_pwrctrl.h @@ -61,7 +61,6 @@ enum { /* for ips_mode */ struct pwrctrl_priv { struct semaphore lock; - volatile u8 cpwm_tog; /* toggling */ u8 pwr_mode; u8 smart_ps;