staging: r8188eu: remove unused variable cpwm_tog
authorMartin Kaiser <martin@kaiser.cx>
Mon, 13 Sep 2021 18:51:09 +0000 (20:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 07:15:13 +0000 (09:15 +0200)
cpwm_tog in struct pwrctrl_priv is not used. Remove it.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210913185110.3065-8-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_pwrctrl.h

index 9e4b4ee..08d414a 100644 (file)
@@ -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;