]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Remove duplicated HPPA bits in kernel/sysctl.c
authorAndrew Morton <akpm@osdl.org>
Mon, 9 Feb 2004 10:58:23 +0000 (02:58 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 9 Feb 2004 10:58:23 +0000 (02:58 -0800)
From: "Art Haas" <ahaas@airmail.net>

The following patch removes the duplicated sysctl entries for 'soft-power'
and 'unaligned-trap' for HPPA users.  Immediately before these lines these
two entries exist in a C99-style format.

kernel/sysctl.c

index 89f7c28b7ed13011dd6bb3e681e47878a90377a9..5bfd5cd1260ef84716463ad076fdd473225afe22 100644 (file)
@@ -338,12 +338,6 @@ static ctl_table kern_table[] = {
                .proc_handler   = &proc_dointvec,
        },
 #endif
-#ifdef __hppa__
-       {KERN_HPPA_PWRSW, "soft-power", &pwrsw_enabled, sizeof (int),
-        0644, NULL, &proc_dointvec},
-       {KERN_HPPA_UNALIGNED, "unaligned-trap", &unaligned_enabled, sizeof (int),
-        0644, NULL, &proc_dointvec},
-#endif
 #if defined(CONFIG_PPC32) && defined(CONFIG_6xx)
        {
                .ctl_name       = KERN_PPC_POWERSAVE_NAP,