Skip to content

Commit

Permalink
[PATCH] sysctl: decnet: remove unnecessary insert_at_head flag
Browse files Browse the repository at this point in the history
The sysctl numbers used are unique so setting the insert_at_head flag does not
succeed in overriding any sysctls, and is just confusing because it doesn't.
Clear the flag.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Patrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Feb 14, 2007
1 parent ecab963 commit d87abf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/decnet/sysctl_net_decnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ static ctl_table dn_root_table[] = {

void dn_register_sysctl(void)
{
dn_table_header = register_sysctl_table(dn_root_table, 1);
dn_table_header = register_sysctl_table(dn_root_table, 0);
}

void dn_unregister_sysctl(void)
Expand Down

0 comments on commit d87abf4

Please sign in to comment.