Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
[firefly-linux-kernel-4.4.55.git] / drivers / edac / i5000_edac.c
index 996c1bdb5a34379c474d7c1100aabeb419f30996..a5cefab8d65d029339dbef50fd3f2dd5664c6db3 100644 (file)
@@ -1482,7 +1482,7 @@ static int __devinit i5000_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 */