Skip to content

Commit 2d4381d

Browse files
ebiedermLinus Torvalds
authored andcommitted
[PATCH] sysctl: rose: remove unnecessary insert_at_head flag
The sysctl numbers used are unique so setting the insert_at_head flag serves no semantic purpose. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 2b1bec5 commit 2d4381d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/rose/sysctl_net_rose.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static ctl_table rose_root_table[] = {
160160

161161
void __init rose_register_sysctl(void)
162162
{
163-
rose_table_header = register_sysctl_table(rose_root_table, 1);
163+
rose_table_header = register_sysctl_table(rose_root_table, 0);
164164
}
165165

166166
void rose_unregister_sysctl(void)

0 commit comments

Comments
 (0)