lkml.org 
[lkml]   [2001]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] unused function in arch/i386
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/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.058 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site