summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 09:33:57 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 17:09:58 +0100
commitb04c3afb2b6e2f902b41bb62b73684d92d7e6c34 (patch)
tree00b164435ec9c9226659852c784e7e0a8c94c8e9 /kernel/sysctl.c
parent[PATCH] sysctl: register the ocfs2 sysctl numbers (diff)
downloadlinux-b04c3afb2b6e2f902b41bb62b73684d92d7e6c34.tar.xz
linux-b04c3afb2b6e2f902b41bb62b73684d92d7e6c34.zip
[PATCH] sysctl: move init_irq_proc into init/main where it belongs
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index e0ac6cd79fcf..7ba4b0c16d6a 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1177,8 +1177,6 @@ static ctl_table dev_table[] = {
{ .ctl_name = 0 }
};
-extern void init_irq_proc (void);
-
static DEFINE_SPINLOCK(sysctl_lock);
/* called under sysctl_lock */
@@ -1224,7 +1222,6 @@ void __init sysctl_init(void)
{
#ifdef CONFIG_PROC_SYSCTL
register_proc_table(root_table, proc_sys_root, &root_table_header);
- init_irq_proc();
#endif
}