Commit 162be5c4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 20bc0641
...@@ -493,8 +493,6 @@ typedef unsigned int pcidev_t; ...@@ -493,8 +493,6 @@ typedef unsigned int pcidev_t;
#define PciDeviceFn(d) ((d)&0xff) #define PciDeviceFn(d) ((d)&0xff)
#define __PciDev(busn, devfn) (((busn)<<8)+(devfn)) #define __PciDev(busn, devfn) (((busn)<<8)+(devfn))
#define pci_present pcibios_present
#define pci_read_config_byte(d, w, v) \ #define pci_read_config_byte(d, w, v) \
pcibios_read_config_byte(PciBusNumber(d), PciDeviceFn(d), w, v) pcibios_read_config_byte(PciBusNumber(d), PciDeviceFn(d), w, v)
#define pci_read_config_word(d, w, v) \ #define pci_read_config_word(d, w, v) \
...@@ -12904,12 +12902,6 @@ int __init sym53c8xx_detect(Scsi_Host_Template *tpnt) ...@@ -12904,12 +12902,6 @@ int __init sym53c8xx_detect(Scsi_Host_Template *tpnt)
ncr_nvram nvram0, nvram, *nvp; ncr_nvram nvram0, nvram, *nvp;
#endif #endif
/*
** PCI is required.
*/
if (!pci_present())
return 0;
/* /*
** Initialize driver general stuff. ** Initialize driver general stuff.
*/ */
......
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