Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T21:03:46Z

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

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

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

diff -Nru a/sound/oss/cs4281/cs4281m.c b/sound/oss/cs4281/cs4281m.c
--- a/sound/oss/cs4281/cs4281m.c Tue Jun 10 11:17:59 2003
+++ b/sound/oss/cs4281/cs4281m.c Tue Jun 10 11:17:59 2003
@@ -4484,11 +4484,6 @@
int rtn = 0;
CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO
"cs4281: cs4281_init_module()+ \n"));
- if (!pci_present()) { /* No PCI bus in this machine! */
- CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO
- "cs4281: cs4281_init_module()- no pci bus found\n"));
- return -ENODEV;
- }
printk(KERN_INFO "cs4281: version v%d.%02d.%d time " __TIME__ " "
__DATE__ "\n", CS4281_MAJOR_VERSION, CS4281_MINOR_VERSION,
CS4281_ARCH);