Commit 1738994c authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman

staging: r8188eu: remove unused enum and array

PS_BBRegBackup in struct pwrctrl_priv is not used. Remove this component
and the related enum _PS_BBRegBackup_.
Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210913185110.3065-6-martin@kaiser.cxSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a077ab19
...@@ -53,14 +53,6 @@ enum rt_rf_power_state { ...@@ -53,14 +53,6 @@ enum rt_rf_power_state {
rf_max rf_max
}; };
enum _PS_BBRegBackup_ {
PSBBREG_RF0 = 0,
PSBBREG_RF1,
PSBBREG_RF2,
PSBBREG_AFE0,
PSBBREG_TOTALCNT
};
enum { /* for ips_mode */ enum { /* for ips_mode */
IPS_NONE = 0, IPS_NONE = 0,
IPS_NORMAL, IPS_NORMAL,
...@@ -125,7 +117,6 @@ struct pwrctrl_priv { ...@@ -125,7 +117,6 @@ struct pwrctrl_priv {
u8 bHWPowerdown;/* if support hw power down */ u8 bHWPowerdown;/* if support hw power down */
u8 bkeepfwalive; u8 bkeepfwalive;
u8 brfoffbyhw; u8 brfoffbyhw;
unsigned long PS_BBRegBackup[PSBBREG_TOTALCNT];
}; };
#define rtw_get_ips_mode_req(pwrctrlpriv) \ #define rtw_get_ips_mode_req(pwrctrlpriv) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment