Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T21:02:15Z

ChangeSet 1.1383, 2003/06/09 16:22:44-07:00, greg@kroah.com

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

sound/oss/sonicvibes.c | 2 --
1 files changed, 2 deletions(-)

diff -Nru a/sound/oss/sonicvibes.c b/sound/oss/sonicvibes.c
--- a/sound/oss/sonicvibes.c Tue Jun 10 11:16:35 2003
+++ b/sound/oss/sonicvibes.c Tue Jun 10 11:16:35 2003
@@ -2723,8 +2723,6 @@

static int __init init_sonicvibes(void)
{
- if (!pci_present()) /* No PCI bus in this machine! */
- return -ENODEV;
printk(KERN_INFO "sv: version v0.31 time " __TIME__ " " __DATE__ "\n");
#if 0
if (!(wavetable_mem = __get_free_pages(GFP_KERNEL, 20-PAGE_SHIFT)))