Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 208367ee authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

[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: default avatarEric W. Biederman <ebiederm@xmission.com>
Acked-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bfe1a1e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;