Skip to contentSkip to conversation

staging: r8188eu: remove rtw_free_pwrctrl_priv prototype

PATCH In review Martin Kaiser 2 participants 2 messages Sep 18, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: r8188eu: remove rtw_free_pwrctrl_priv prototype

The rtw_free_pwrctrl_priv has already been removed in commit 6729e7541934 ("staging: r8188eu: _free_pwrlock is empty"). Remove the prototype as well.

---
 drivers/staging/r8188eu/include/rtw_pwrctrl.h | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/r8188eu/include/rtw_pwrctrl.h +0 -1
index a77fb76a0b09..e412ef71b54b 100644
@@ -134,7 +134,6 @@ struct pwrctrl_priv {
 				       (pwrctrl)->pwr_state_check_interval)
 
 void rtw_init_pwrctrl_priv(struct adapter *adapter);
-void rtw_free_pwrctrl_priv(struct adapter *adapter);
 
 void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps,
 		     u8 bcn_ant_mode);
Signature · 1 line
2.20.1
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Martin Kaiser

The rtw_free_pwrctrl_priv has already been removed in commit 6729e7541934 ("staging: r8188eu: _free_pwrlock is empty"). Remove the prototype as well.

---
  drivers/staging/r8188eu/include/rtw_pwrctrl.h | 1 -
  1 file changed, 1 deletion(-)
drivers/staging/r8188eu/include/rtw_pwrctrl.h +0 -0
index a77fb76a0b09..e412ef71b54b 100644

drivers/staging/r8188eu/include/rtw_pwrctrl.h struct pwrctrl_priv { · line 139

Quoted 7 lines
drivers/staging/r8188eu/include/rtw_pwrctrl.h +0 -1
@@ -134,7 +134,6 @@ struct pwrctrl_priv {
  				       (pwrctrl)->pwr_state_check_interval)
 
  void rtw_init_pwrctrl_priv(struct adapter *adapter);
-void rtw_free_pwrctrl_priv(struct adapter *adapter);
 
  void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps,
  		     u8 bcn_ant_mode);

Looks good to me.

Thanks,
Michael