[PATCH 1/5] staging: r8188eu: remove unused fields from struct pwrctrl_priv

From: Michael Straube
Date: Mon Apr 04 2022 - 04:21:53 EST


There are some unused fields in the pwrctrl_priv structure.
Remove them.

Signed-off-by: Michael Straube <straube.linux@xxxxxxxxx>
---
drivers/staging/r8188eu/include/rtw_pwrctrl.h | 8 --------
1 file changed, 8 deletions(-)

diff --git a/drivers/staging/r8188eu/include/rtw_pwrctrl.h b/drivers/staging/r8188eu/include/rtw_pwrctrl.h
index 4cc365aa3fa7..b0d48106fe56 100644
--- a/drivers/staging/r8188eu/include/rtw_pwrctrl.h
+++ b/drivers/staging/r8188eu/include/rtw_pwrctrl.h
@@ -47,16 +47,10 @@ struct pwrctrl_priv {
u8 smart_ps;
u8 bcn_ant_mode;

- u32 alives;
- struct work_struct cpwm_event;
bool bpower_saving;

u8 reg_rfoff;
- u8 reg_pdnmode; /* powerdown mode */

- /* RF OFF Level */
- u32 cur_ps_level;
- u32 reg_rfps_level;
uint ips_enter_cnts;
uint ips_leave_cnts;

@@ -72,7 +66,6 @@ struct pwrctrl_priv {
u8 power_mgnt;
u8 bFwCurrentInPSMode;
u32 DelayLPSLastTimeStamp;
- s32 pnp_current_pwr_state;
u8 pnp_bstop_trx;

u8 bInSuspend;
@@ -86,7 +79,6 @@ struct pwrctrl_priv {
enum rt_rf_power_state rf_pwrstate;/* cur power state */
enum rt_rf_power_state change_rfpwrstate;

- u8 wepkeymask;
u8 bkeepfwalive;
};

--
2.35.1