lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Yet more PCI fixes for 2.5.70
From
Date
ChangeSet 1.1382, 2003/06/09 16:22:20-07:00, greg@kroah.com

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


sound/oss/skeleton.c | 4 ----
1 files changed, 4 deletions(-)


diff -Nru a/sound/oss/skeleton.c b/sound/oss/skeleton.c
--- a/sound/oss/skeleton.c Tue Jun 10 11:16:46 2003
+++ b/sound/oss/skeleton.c Tue Jun 10 11:16:46 2003
@@ -159,10 +159,6 @@
struct pci_dev *pcidev=NULL;
int count=0;

- if(!pci_present())
- return -ENODEV;
-
-
while((pcidev = pci_find_device(PCI_VENDOR_MYIDENT, PCI_DEVICE_ID_MYIDENT_MYCARD1, pcidev))!=NULL)
{
if (pci_enable_device(pcidev))
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.040 / U:6.740 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site