summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 11:33:26 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 19:09:55 +0300
commit9fa7b46d73d2849a7234d0967152c39deb4e815f (patch)
treebc55b4a929c6ffa07f8ffa39f27f3e7d5a2f3e71 /net
parent6fe6b1755c3d234af076c0d264dc8478acf4510c (diff)
downloadlinux-9fa7b46d73d2849a7234d0967152c39deb4e815f.tar.xz
[PATCH] sysctl: llc: remove unnecessary insert_at_head flag
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>
Diffstat (limited to 'net')
-rw-r--r--net/llc/sysctl_net_llc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/sysctl_net_llc.c b/net/llc/sysctl_net_llc.c
index d047a3e15714..bcec7e1eda95 100644
--- a/net/llc/sysctl_net_llc.c
+++ b/net/llc/sysctl_net_llc.c
@@ -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;
}