diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-14 00:33:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 08:09:55 -0800 |
commit | 9fa7b46d73d2849a7234d0967152c39deb4e815f (patch) | |
tree | bc55b4a929c6ffa07f8ffa39f27f3e7d5a2f3e71 | |
parent | 6fe6b1755c3d234af076c0d264dc8478acf4510c (diff) | |
download | op-kernel-dev-9fa7b46d73d2849a7234d0967152c39deb4e815f.zip op-kernel-dev-9fa7b46d73d2849a7234d0967152c39deb4e815f.tar.gz |
[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>
-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 d047a3e..bcec7e1 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; } |