Commit 9c5825ca authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 39fa5a35
...@@ -159,10 +159,6 @@ int init_mycard(void) ...@@ -159,10 +159,6 @@ int init_mycard(void)
struct pci_dev *pcidev=NULL; struct pci_dev *pcidev=NULL;
int count=0; int count=0;
if(!pci_present())
return -ENODEV;
while((pcidev = pci_find_device(PCI_VENDOR_MYIDENT, PCI_DEVICE_ID_MYIDENT_MYCARD1, pcidev))!=NULL) while((pcidev = pci_find_device(PCI_VENDOR_MYIDENT, PCI_DEVICE_ID_MYIDENT_MYCARD1, pcidev))!=NULL)
{ {
if (pci_enable_device(pcidev)) if (pci_enable_device(pcidev))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment