summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 09:33:25 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 17:09:55 +0100
commit2d4381dec31865d7882312bef4cb8da2b12621ff (patch)
tree99ed63a3d98865f32612a43f3b461259316bb0ee
parent[PATCH] sysctl: sunrpc: don't unnecessarily set ctl_table->de (diff)
downloadlinux-2d4381dec31865d7882312bef4cb8da2b12621ff.tar.xz
linux-2d4381dec31865d7882312bef4cb8da2b12621ff.zip
[PATCH] sysctl: rose: remove unnecessary insert_at_head flag
The sysctl numbers used are unique so setting the insert_at_head flag serves no semantic purpose. 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>
-rw-r--r--net/rose/sysctl_net_rose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rose/sysctl_net_rose.c b/net/rose/sysctl_net_rose.c
index 27a452bc5b8d..b9210461a8b4 100644
--- a/net/rose/sysctl_net_rose.c
+++ b/net/rose/sysctl_net_rose.c
@@ -160,7 +160,7 @@ static ctl_table rose_root_table[] = {
void __init rose_register_sysctl(void)
{
- rose_table_header = register_sysctl_table(rose_root_table, 1);
+ rose_table_header = register_sysctl_table(rose_root_table, 0);
}
void rose_unregister_sysctl(void)