Explorar el Código

[PATCH] sysctl: netrom: remove unnecessary insert_at_head flag

The sysctl numbers used are unique so setting the insert_at_head flag serves
no semantic purpose, so it is just confusing.

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>
Eric W. Biederman hace 18 años
padre
commit
6fe6b1755c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      net/netrom/sysctl_net_netrom.c

+ 1 - 1
net/netrom/sysctl_net_netrom.c

@@ -192,7 +192,7 @@ static ctl_table nr_root_table[] = {
 
 void __init nr_register_sysctl(void)
 {
-	nr_table_header = register_sysctl_table(nr_root_table, 1);
+	nr_table_header = register_sysctl_table(nr_root_table, 0);
 }
 
 void nr_unregister_sysctl(void)