igb: use BIT() macro or unsigned prefix
[deliverable/linux.git] / drivers / net / phy / fixed_phy.c
index fc07a886602042392c2316943e8396deaadf63f9..9050f21e6f337e5934e1a639e63ad13607574b2d 100644 (file)
@@ -328,7 +328,7 @@ struct phy_device *fixed_phy_register(unsigned int irq,
                return ERR_PTR(ret);
 
        phy = get_phy_device(fmb->mii_bus, phy_addr, false);
-       if (!phy || IS_ERR(phy)) {
+       if (IS_ERR(phy)) {
                fixed_phy_del(phy_addr);
                return ERR_PTR(-EINVAL);
        }
This page took 0.027041 seconds and 5 git commands to generate.