All of lore.kernel.org
 help / color / mirror / Atom feed
* [TRIVIAL PATCH 2.5.51] Remove compile warning from  drivers/ide/pci/generic.h
@ 2002-12-11 22:29 Bob Miller
  0 siblings, 0 replies; only message in thread
From: Bob Miller @ 2002-12-11 22:29 UTC (permalink / raw)
  To: trivial; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-11 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-11 22:29 [TRIVIAL PATCH 2.5.51] Remove compile warning from drivers/ide/pci/generic.h Bob Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.