2007-11-29 16:04:53

by Pierre Peiffer

[permalink] [raw]
Subject: [PATCH] Remove one useless extern declaration



The file exit.c contains one useless extern declaration of sem_exit().
Moreover, it refers to nothing.

This trivial patch removes it.


Signed-off-by: Pierre Peiffer <[email protected]>
---
kernel/exit.c | 2 --
1 file changed, 2 deletions(-)

Index: b/kernel/exit.c
===================================================================
--- 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)

--
Pierre Peiffer