[PATCH v2 7/8] staging: r8188eu: remove unused variable cpwm_tog

From: Martin Kaiser
Date: Mon Sep 13 2021 - 14:53:30 EST


cpwm_tog in struct pwrctrl_priv is not used. Remove it.

Signed-off-by: Martin Kaiser <martin@xxxxxxxxx>
---
v2:
- rebased against today's staging-testing branch

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 9e4b4eef4d27..08d414aa9ef5 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.20.1