From 1bc4e56bed3824c1ced0df4579dbdf3c542269fc Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Mon, 13 Sep 2021 20:51:09 +0200 Subject: [PATCH] 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 --- drivers/staging/r8188eu/include/rtw_pwrctrl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/r8188eu/include/rtw_pwrctrl.h b/drivers/staging/r8188eu/include/rtw_pwrctrl.h index 9e4b4ee..08d414a 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; -- 2.7.4