Messages in this thread Patch in this message | | | Date | Wed, 11 Dec 2002 14:29:44 -0800 | From | Bob Miller <> | Subject | [TRIVIAL PATCH 2.5.51] Remove compile warning from drivers/ide/pci/generic.h |
| |
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/
| |