]> err.no Git - linux-2.6/commitdiff
[PATCH] sysctl: rose: remove unnecessary insert_at_head flag
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:25 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:55 +0000 (08:09 -0800)
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>
net/rose/sysctl_net_rose.c

index 27a452bc5b8d7511d1d2b4834097ff0d9da288a8..b9210461a8b466bbc7f07bffec4bbc4ea488c2e3 100644 (file)
@@ -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)