diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-14 03:33:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 11:09:55 -0500 |
commit | 9fa7b46d73d2849a7234d0967152c39deb4e815f (patch) | |
tree | bc55b4a929c6ffa07f8ffa39f27f3e7d5a2f3e71 /net/llc/sysctl_net_llc.c | |
parent | 6fe6b1755c3d234af076c0d264dc8478acf4510c (diff) |
[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/llc/sysctl_net_llc.c')
-rw-r--r-- | net/llc/sysctl_net_llc.c | 2 |
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; | |||
116 | 116 | ||
117 | int __init llc_sysctl_init(void) | 117 | int __init llc_sysctl_init(void) |
118 | { | 118 | { |
119 | llc_table_header = register_sysctl_table(llc_root_table, 1); | 119 | llc_table_header = register_sysctl_table(llc_root_table, 0); |
120 | 120 | ||
121 | return llc_table_header ? 0 : -ENOMEM; | 121 | return llc_table_header ? 0 : -ENOMEM; |
122 | } | 122 | } |