Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 718aa548 authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: Fix sparse warning in core/rtw_pwrctrl.c



Sparse reports the following:

  CHECK   drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c:525:6: warning: symbol 'rtw_free_pwrctrl_priv' was not declared. Should it be static?

That routine is not used and has been deleted.

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1f8e635f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -522,10 +522,6 @@ _func_enter_;
_func_exit_;
}

void rtw_free_pwrctrl_priv(struct adapter *adapter)
{
}

u8 rtw_interface_ps_func(struct adapter *padapter, enum hal_intf_ps_func efunc_id, u8 *val)
{
	u8 bResult = true;