[PATCH] unused function in arch/i386

From: Manik Raina (manik@cisco.com)
Date: Mon Nov 05 2001 - 03:04:00 EST


Hi all,

The function disable_ide_dma is no longer in use in the
codebase, and hence this patch removes it from the build ....

Index: kernel/dmi_scan.c
===================================================================
RCS file: /vger/linux/arch/i386/kernel/dmi_scan.c,v
retrieving revision 1.10
diff -u -r1.10 dmi_scan.c
--- kernel/dmi_scan.c 13 Oct 2001 01:47:27 -0000 1.10
+++ kernel/dmi_scan.c 5 Nov 2001 07:59:16 -0000
@@ -189,7 +189,7 @@
  * rule needs to be improved to match specific BIOS revisions with
  * corruption problems
  */
-
+#ifdef OLDVERSION
 static __init int disable_ide_dma(struct dmi_blacklist *d)
 {
 #ifdef CONFIG_BLK_DEV_IDE
@@ -202,6 +202,8 @@
 #endif
         return 0;
 }
+
+#endif /* OLDVERSION */

 /*
  * Reboot options and system auto-detection code provided by

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:25 EST