Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:29 -0700


ChangeSet 1.1371, 2003/06/09 16:14:28-07:00, greg@kroah.com

PCI: remove pci_present() from sound/oss/cmpci.c

sound/oss/cmpci.c | 4 ----
1 files changed, 4 deletions(-)

diff -Nru a/sound/oss/cmpci.c b/sound/oss/cmpci.c
--- a/sound/oss/cmpci.c Tue Jun 10 11:18:04 2003
+++ b/sound/oss/cmpci.c Tue Jun 10 11:18:04 2003
@@ -3139,10 +3139,6 @@
struct pci_dev *pcidev = NULL;
int index = 0;

-#ifdef CONFIG_PCI
- if (!pci_present()) /* No PCI bus in this machine! */
-#endif
- return -ENODEV;
printk(KERN_INFO "cmpci: version $Revision: 5.64 $ time " __TIME__ " " __DATE__ "\n");

while (index < NR_DEVICE && (

-
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/