From 4f59e193d0123bae23d3cc12ea4acee68b639c77 Mon Sep 17 00:00:00 2001 From: Ana Rey Date: Thu, 13 Mar 2014 17:54:54 +0100 Subject: [PATCH] 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 --- drivers/staging/rtl8192u/r8192U_core.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 9432b68102f9..8995b0270e7e 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. */ -- 2.20.1