summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-12-22 17:36:58 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-08 19:18:08 -0800
commit1f8e635f96e0ed42b0e0e87a9f5e8a7215033ba9 (patch)
tree0b24da23169dfe8a4b85e72ed63b338d7d2f0295 /drivers/staging/rtl8188eu
parentcc25137f5674b0597668f7bb63590cf885ac26b9 (diff)
downloadlinux-1f8e635f96e0ed42b0e0e87a9f5e8a7215033ba9.tar.bz2
staging: r8188eu: Fix sparse warning in core/rtw_sta_mgt.c
Sparse reports the following: CHECK drivers/staging/rtl8188eu/core/rtw_sta_mgt.c drivers/staging/rtl8188eu/core/rtw_sta_mgt.c:152:6: warning: symbol 'rtw_mfree_all_stainfo' was not declared. Should it be static? Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_sta_mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
index ed8075dcdef9..02e1e1f8b3ea 100644
--- a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
+++ b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
@@ -149,7 +149,7 @@ inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int
}
/* this function is used to free the memory of lock || sema for all stainfos */
-void rtw_mfree_all_stainfo(struct sta_priv *pstapriv)
+static void rtw_mfree_all_stainfo(struct sta_priv *pstapriv)
{
struct list_head *plist, *phead;
struct sta_info *psta = NULL;