diff options
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_core.c')
-rw-r--r-- | drivers/pci/hotplug/cpqphp_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpqphp_core.c b/drivers/pci/hotplug/cpqphp_core.c index 74f3a0695b43..ec009a7dba20 100644 --- a/drivers/pci/hotplug/cpqphp_core.c +++ b/drivers/pci/hotplug/cpqphp_core.c | |||
@@ -867,7 +867,8 @@ static int cpqhpc_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
867 | */ | 867 | */ |
868 | if ((pdev->revision <= 2) && (vendor_id != PCI_VENDOR_ID_INTEL)) { | 868 | if ((pdev->revision <= 2) && (vendor_id != PCI_VENDOR_ID_INTEL)) { |
869 | err(msg_HPC_not_supported); | 869 | err(msg_HPC_not_supported); |
870 | return -ENODEV; | 870 | rc = -ENODEV; |
871 | goto err_disable_device; | ||
871 | } | 872 | } |
872 | 873 | ||
873 | /* TODO: This code can be made to support non-Compaq or Intel | 874 | /* TODO: This code can be made to support non-Compaq or Intel |