]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Kill unused code
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 9 Feb 2003 10:59:52 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 9 Feb 2003 10:59:52 +0000 (02:59 -0800)
From:  Pavel Machek <pavel@ucw.cz>

  Second part of this patch never got in (and I was told it was not bug
  in ASUS but in linux), so it is useless junk... Please apply,

arch/i386/kernel/dmi_scan.c

index eb6e601928fd742a3a21ad01cc5114656d5fe973..f904e15904aec3bb4b03697dd2d899eb0bee1156 100644 (file)
@@ -449,17 +449,6 @@ static __init int broken_pirq(struct dmi_blacklist *d)
        return 0;
 }
 
-/*
- * ASUS K7V-RM has broken ACPI table defining sleep modes
- */
-
-static __init int broken_acpi_Sx(struct dmi_blacklist *d)
-{
-       printk(KERN_WARNING "Detected ASUS mainboard with broken ACPI sleep table\n");
-       dmi_broken |= BROKEN_ACPI_Sx;
-       return 0;
-}
-
 /*
  * Toshiba keyboard likes to repeat keys when they are not repeated.
  */
@@ -746,12 +735,6 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
                        NO_MATCH, NO_MATCH, NO_MATCH
                        } },
                        
-       { broken_acpi_Sx, "ASUS K7V-RM", {              /* Bad ACPI Sx table */
-                       MATCH(DMI_BIOS_VERSION,"ASUS K7V-RM ACPI BIOS Revision 1003A"),
-                       MATCH(DMI_BOARD_NAME, "<K7V-RM>"),
-                       NO_MATCH, NO_MATCH
-                       } },
-                       
        { broken_toshiba_keyboard, "Toshiba Satellite 4030cdt", { /* Keyboard generates spurious repeats */
                        MATCH(DMI_PRODUCT_NAME, "S4030CDT/4.3"),
                        NO_MATCH, NO_MATCH, NO_MATCH