mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 08:05:27 +08:00
[PATCH] sysctl: cdrom: remove unnecessary insert_at_head flag
With unique binary sysctl numbers setting insert_at_head to override other sysctl entries is pointless. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: James Bottomley <James.Bottomley@SteelEye.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
bfe1a1e160
commit
208367eeec
@ -3553,7 +3553,7 @@ static void cdrom_sysctl_register(void)
|
||||
if (initialized == 1)
|
||||
return;
|
||||
|
||||
cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 1);
|
||||
cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 0);
|
||||
if (cdrom_root_table->ctl_name && cdrom_root_table->child->de)
|
||||
cdrom_root_table->child->de->owner = THIS_MODULE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user