From: Ana Rey Date: Thu, 13 Mar 2014 16:54:54 +0000 (+0100) Subject: staging: rtl8192u: Deleted 'rtl8192_proc_module_remove' function in r8192U_core.c X-Git-Tag: v4.14-rc1~7811^2~397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f59e193d0123bae23d3cc12ea4acee68b639c77;p=platform%2Fkernel%2Flinux-rpi.git staging: rtl8192u: Deleted 'rtl8192_proc_module_remove' function in r8192U_core.c This patch delete the 'rtl8192_proc_module_remove' function that is not used in anywhere in the driver. Fix the following sparse warnings in r8192U_core.c drivers/staging/rtl8192u/r8192U_core.c:595:6: warning: symbol 'rtl8192_proc_module_remove' was not declared. Should it be static? Signed-off-by: Ana Rey Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 9432b68..8995b02 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -591,12 +591,6 @@ static void rtl8192_proc_module_init(void) rtl8192_proc = proc_mkdir(RTL819xU_MODULE_NAME, init_net.proc_net); } - -void rtl8192_proc_module_remove(void) -{ - remove_proc_entry(RTL819xU_MODULE_NAME, init_net.proc_net); -} - /* * seq_file wrappers for procfile show routines. */