[Devel] [PATCH] Remove unneeded extern declaration from kernel/exit.c

Pavel Emelyanov xemul at openvz.org
Sat Dec 1 02:39:12 PST 2007


The declared extern void sem_exit(void) function does 
not even exist in the kernel.

Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

---

diff --git a/kernel/exit.c b/kernel/exit.c
index 549c055..a2213c3 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -50,8 +50,6 @@
 #include <asm/pgtable.h>
 #include <asm/mmu_context.h>
 
-extern void sem_exit (void);
-
 static void exit_mm(struct task_struct * tsk);
 
 static void __unhash_process(struct task_struct *p)




More information about the Devel mailing list