--- a/src/qla_os.c +++ b/src/qla_os.c @@ -2765,16 +2764,0 @@ -#ifdef CONFIG_RHEL_DIFFERENCES -static const struct pci_device_id rh_deprecated_pci_table[] = { - { 0 } -}; - -static const struct pci_device_id rh_unmaintained_pci_table[] = { - { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2532) }, - { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP2031) }, - { PCI_DEVICE(PCI_VENDOR_ID_QLOGIC, PCI_DEVICE_ID_QLOGIC_ISP8031) }, - { 0 } -}; - -static const struct pci_device_id rh_disabled_pci_table[] = { - { 0 } -}; -#endif @@ -2801,7 +2784,0 @@ -#ifdef CONFIG_RHEL_DIFFERENCES - if (pci_hw_disabled(rh_disabled_pci_table, pdev)) - return -ENODEV; - - pci_hw_deprecated(rh_deprecated_pci_table, pdev); - pci_hw_unmaintained(rh_unmaintained_pci_table, pdev); -#endif @@ -7839 +7815,0 @@ -#ifndef CONFIG_RHEL_DIFFERENCES @@ -7852 +7827,0 @@ -#endif @@ -7855 +7829,0 @@ -#ifndef CONFIG_RHEL_DIFFERENCES @@ -7858 +7831,0 @@ -#endif @@ -7860 +7832,0 @@ -#ifndef CONFIG_RHEL_DIFFERENCES @@ -7863 +7834,0 @@ -#endif