From 76682b187464bd061830a0752d5d6529aa5e5933 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Fri, 14 Aug 2015 19:40:02 -0500 Subject: [PATCH] rtl8188eu: Fix Fix Sparse warning in os_dep/os_intfs.c Sparse issues the following: CHECK /home/finger/rtl8188eu/os_dep/os_intfs.c /home/finger/rtl8188eu/os_dep/os_intfs.c:647:4: warning: symbol 'rtw_init_default_value' was not declared. Should it be static? Signed-off-by: Larry Finger --- os_dep/os_intfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_dep/os_intfs.c b/os_dep/os_intfs.c index 09334aa..40b92b9 100644 --- a/os_dep/os_intfs.c +++ b/os_dep/os_intfs.c @@ -644,7 +644,7 @@ void rtw_stop_drv_threads (struct adapter *padapter) rtw_hal_stop_thread(padapter); } -u8 rtw_init_default_value(struct adapter *padapter) +static u8 rtw_init_default_value(struct adapter *padapter) { u8 ret = _SUCCESS; struct registry_priv* pregistrypriv = &padapter->registrypriv;