Commit 175f66cf authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/scsi/eata.c

parent 02726efb
......@@ -959,8 +959,6 @@ static struct pci_dev *get_pci_dev(unsigned long port_base) {
unsigned int addr;
struct pci_dev *dev = NULL;
if (!pci_present()) return NULL;
while((dev = pci_find_class(PCI_CLASS_STORAGE_SCSI << 8, dev))) {
addr = pci_resource_start (dev, 0);
......@@ -983,8 +981,6 @@ static void enable_pci_ports(void) {
struct pci_dev *dev = NULL;
if (!pci_present()) return;
while((dev = pci_find_class(PCI_CLASS_STORAGE_SCSI << 8, dev))) {
#if defined(DEBUG_PCI_DETECT)
......@@ -1410,8 +1406,6 @@ static void add_pci_ports(void) {
struct pci_dev *dev = NULL;
if (!pci_present()) return;
for (k = 0; k < MAX_PCI; k++) {
if (!(dev = pci_find_class(PCI_CLASS_STORAGE_SCSI << 8, dev))) break;
......
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