From: Larry Finger Date: Sun, 22 Dec 2013 23:36:59 +0000 (-0600) Subject: staging: r8188eu: Fix sparse warning in core/rtw_pwrctrl.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=718aa5486eb6a8a310299a8f516505930d27511e;p=openwrt%2Fstaging%2Fblogic.git 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: Larry Finger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c b/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c index 4eec44735cfd..b5db22cc81ed 100644 --- a/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c +++ b/drivers/staging/rtl8188eu/core/rtw_pwrctrl.c @@ -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;