commit | a407054f830ca9a28febdeeeaa34d2ed420b9ed3 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Thu Feb 11 11:44:49 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 16 16:04:08 2016 -0500 |
tree | 055d5145152317b4325da388de12fc2c1685e171 | |
parent | bd16a7248042dc62285fdc5598ec4888c0865819 [diff] |
net: dsa: remove phy_disconnect from error path The phy has not been initialized, disconnecting it in the error path results in a NULL pointer exception. Drop the phy_disconnect from the error path. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: David S. Miller <davem@davemloft.net>