Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
[firefly-linux-kernel-4.4.55.git] / drivers / edac / i5400_edac.c
index 010c1d6526f56fe6a33b2685e28ab6592dad8f80..38a9be9e1c7c5d40e19089250db4bed6a65901b7 100644 (file)
@@ -1348,7 +1348,7 @@ static int __devinit i5400_init_one(struct pci_dev *pdev,
 
        /* wake up device */
        rc = pci_enable_device(pdev);
-       if (rc == -EIO)
+       if (rc)
                return rc;
 
        /* now probe and enable the device */