Move source tree closer to the 2.6.32.17 mainline
/drivers/net/cpmac.c
blob:61f9da2b49431d88056daa1bbcb4b6bceaee86b7 -> blob:1cace005bff202ae4ff0c1d3dfb7dc81d4f0cb3f
--- drivers/net/cpmac.c
+++ drivers/net/cpmac.c
@@ -1176,7 +1176,8 @@ static int __devinit cpmac_probe(struct
if (netif_msg_drv(priv))
printk(KERN_ERR "%s: Could not attach to PHY\n",
dev->name);
- return PTR_ERR(priv->phy);
+ rc = PTR_ERR(priv->phy);
+ goto fail;
}
if ((rc = register_netdev(dev))) {