summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Aiuto <fabioaiuto83@gmail.com>2021-03-27 15:24:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-28 14:36:59 +0200
commitca876454f767879aa1528b5d4aa348c24d7fcf8e (patch)
tree60c2f863fa7e70ab7005856e81e273696792c4fc
parent9ae4632668b4812ac315ffbbee554e8898768230 (diff)
downloadlinux-stable-ca876454f767879aa1528b5d4aa348c24d7fcf8e.tar.gz
linux-stable-ca876454f767879aa1528b5d4aa348c24d7fcf8e.tar.bz2
linux-stable-ca876454f767879aa1528b5d4aa348c24d7fcf8e.zip
staging: rtl8723bs: remove unused macro in include/rtw_pwrctrl.h
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>
-rw-r--r--drivers/staging/rtl8723bs/include/rtw_pwrctrl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
index 2d77446e9482..36d9ec82a7dc 100644
--- a/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
+++ b/drivers/staging/rtl8723bs/include/rtw_pwrctrl.h
@@ -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)