]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] sysctl: llc: remove unnecessary insert_at_head flag
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:26 +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 semantis purpose, and is just confusing.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/llc/sysctl_net_llc.c

index d047a3e15714691f27910661e29143527e5a8fd2..bcec7e1eda95e57cb70b6715627934265b042992 100644 (file)
@@ -116,7 +116,7 @@ static struct ctl_table_header *llc_table_header;
 
 int __init llc_sysctl_init(void)
 {
-       llc_table_header = register_sysctl_table(llc_root_table, 1);
+       llc_table_header = register_sysctl_table(llc_root_table, 0);
 
        return llc_table_header ? 0 : -ENOMEM;
 }