Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:29 EST


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);

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



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:25 EST