Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T18:51:04Z

ChangeSet 1.1373, 2003/06/09 16:18:27-07:00, greg@kroah.com

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

sound/oss/cs46xx.c | 5 -----
1 files changed, 5 deletions(-)

diff -Nru a/sound/oss/cs46xx.c b/sound/oss/cs46xx.c
--- a/sound/oss/cs46xx.c Tue Jun 10 11:17:55 2003
+++ b/sound/oss/cs46xx.c Tue Jun 10 11:17:55 2003
@@ -5725,11 +5725,6 @@
int rtn = 0;
CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO
"cs46xx: cs46xx_init_module()+ \n"));
- if (!pci_present()) { /* No PCI bus in this machine! */
- CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO
- "cs46xx: cs46xx_init_module()- no pci bus found\n"));
- return -ENODEV;
- }
rtn = pci_module_init(&cs46xx_pci_driver);

if(rtn == -ENODEV)