[TRIVIAL PATCH 2.5.51] Remove compile warning from drivers/ide/pci/generic.h

From: Bob Miller (rem@osdl.org)
Date: Wed Dec 11 2002 - 17:29:44 EST


Added and #if/#endif pair to "remove" the un-used unknown_chipset declaration.

Comments in generic.c indicate that unknow_chipset this will be used again
in the future.

diff -Nru a/drivers/ide/pci/generic.h b/drivers/ide/pci/generic.h
--- a/drivers/ide/pci/generic.h Wed Dec 11 13:41:51 2002
+++ b/drivers/ide/pci/generic.h Wed Dec 11 13:41:51 2002
@@ -135,6 +135,7 @@
         }
 };
 
+#if 0
 static ide_pci_device_t unknown_chipset[] __devinitdata = {
         { /* 0 */
                 .vendor = 0,
@@ -157,5 +158,6 @@
         }
 
 };
+#endif
 
 #endif /* IDE_GENERIC_H */

-- 
Bob Miller					Email: rem@osdl.org
Open Source Development Lab			Phone: 503.626.2455 Ext. 17
-
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 : Sun Dec 15 2002 - 22:00:23 EST