summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 09:33:26 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 17:09:55 +0100
commit6fe6b1755c3d234af076c0d264dc8478acf4510c (patch)
tree8bb7e02bf8994bf1678801f5b809de0e73dc1917 /net/netrom
parent[PATCH] sysctl: rose: remove unnecessary insert_at_head flag (diff)
downloadlinux-6fe6b1755c3d234af076c0d264dc8478acf4510c.tar.xz
linux-6fe6b1755c3d234af076c0d264dc8478acf4510c.zip
[PATCH] sysctl: netrom: remove unnecessary insert_at_head flag
The sysctl numbers used are unique so setting the insert_at_head flag serves no semantic purpose, so it is just confusing. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/netrom')
-rw-r--r--net/netrom/sysctl_net_netrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/sysctl_net_netrom.c b/net/netrom/sysctl_net_netrom.c
index e4b27d7aae79..6ca96a56663c 100644
--- a/net/netrom/sysctl_net_netrom.c
+++ b/net/netrom/sysctl_net_netrom.c
@@ -192,7 +192,7 @@ static ctl_table nr_root_table[] = {
void __init nr_register_sysctl(void)
{
- nr_table_header = register_sysctl_table(nr_root_table, 1);
+ nr_table_header = register_sysctl_table(nr_root_table, 0);
}
void nr_unregister_sysctl(void)