Commit caad866a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/net/dgrs.c

parent 77bfc31b
......@@ -1356,14 +1356,11 @@ static int __init dgrs_scan(void)
uint irq;
uint plxreg;
uint plxdma;
struct pci_dev *pdev = NULL;
/*
* First, check for PCI boards
*/
if (pci_present())
{
struct pci_dev *pdev = NULL;
while ((pdev = pci_find_device(SE6_PCI_VENDOR_ID, SE6_PCI_DEVICE_ID, pdev)) != NULL)
{
/*
......@@ -1405,7 +1402,6 @@ static int __init dgrs_scan(void)
cards_found++;
}
}
/*
* Second, check for EISA boards
......
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