diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-14 03:33:34 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 11:09:56 -0500 |
| commit | 208367eeec8d6f6fcee1a0672af2149aeee7b658 (patch) | |
| tree | 28966cc8bf1f4367ed085b01f19b8f4005118d85 /drivers/cdrom | |
| parent | bfe1a1e160f89a176efd871e68ef4cb8429bb582 (diff) | |
[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>
Diffstat (limited to 'drivers/cdrom')
| -rw-r--r-- | drivers/cdrom/cdrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 3105dddf59..f0a68017a1 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c | |||
| @@ -3553,7 +3553,7 @@ static void cdrom_sysctl_register(void) | |||
| 3553 | if (initialized == 1) | 3553 | if (initialized == 1) |
| 3554 | return; | 3554 | return; |
| 3555 | 3555 | ||
| 3556 | cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 1); | 3556 | cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 0); |
| 3557 | if (cdrom_root_table->ctl_name && cdrom_root_table->child->de) | 3557 | if (cdrom_root_table->ctl_name && cdrom_root_table->child->de) |
| 3558 | cdrom_root_table->child->de->owner = THIS_MODULE; | 3558 | cdrom_root_table->child->de->owner = THIS_MODULE; |
| 3559 | 3559 | ||
