Florian Fainelli ed770f0136 cpmac: do not leak struct net_device on phy_connect errors
If the call to phy_connect fails, we will return directly instead of freeing
the previously allocated struct net_device.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
CC: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-25 21:16:58 -07:00
..
2010-05-25 19:41:19 -04:00
2010-05-28 01:38:02 +02:00
2010-05-27 09:12:40 -07:00
2010-05-25 00:48:24 -06:00
2010-05-25 08:07:07 -07:00