staging: rtl8723bs: remove unused macro in include/rtw_pwrctrl.h
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 27 Mar 2021 14:24:09 +0000 (15:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Mar 2021 12:36:59 +0000 (14:36 +0200)
remove unused macro reading field ips_mode_req of struct
pwrctrl_priv

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/39805614be82f1fd90ee460ffedb8a7beb99dce9.1616854134.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h

index 2d77446e94824b2e2108e54d550efaab46f7bb2c..36d9ec82a7dc4b35f4ff643f4369be7f64f3c080 100644 (file)
@@ -237,9 +237,6 @@ struct pwrctrl_priv {
        unsigned long PS_BBRegBackup[PSBBREG_TOTALCNT];
 };
 
-#define rtw_get_ips_mode_req(pwrctl) \
-       (pwrctl)->ips_mode_req
-
 #define rtw_ips_mode_req(pwrctl, ips_mode) \
        (pwrctl)->ips_mode_req = (ips_mode)