Re: [PATCH] Yet more PCI fixes for 2.5.70

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


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

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