Commit 75c68a49 authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman

staging: r8188eu: make ips_leave static

The ips_leave function is used only in rtw_pwrctrl.c. We can make this
function static.
Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230206210124.150142-3-martin@kaiser.cxSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 815950ef
...@@ -39,7 +39,7 @@ static void ips_enter(struct adapter *padapter) ...@@ -39,7 +39,7 @@ static void ips_enter(struct adapter *padapter)
mutex_unlock(&pwrpriv->lock); mutex_unlock(&pwrpriv->lock);
} }
int ips_leave(struct adapter *padapter) static int ips_leave(struct adapter *padapter)
{ {
struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv;
struct security_priv *psecuritypriv = &padapter->securitypriv; struct security_priv *psecuritypriv = &padapter->securitypriv;
......
...@@ -99,7 +99,6 @@ void rtw_set_firmware_ps_mode(struct adapter *adapter, u8 mode); ...@@ -99,7 +99,6 @@ void rtw_set_firmware_ps_mode(struct adapter *adapter, u8 mode);
void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps, void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps,
u8 bcn_ant_mode); u8 bcn_ant_mode);
void LeaveAllPowerSaveMode(struct adapter *adapter); void LeaveAllPowerSaveMode(struct adapter *adapter);
int ips_leave(struct adapter *padapter);
void rtw_ps_processor(struct adapter *padapter); void rtw_ps_processor(struct adapter *padapter);
......
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