diff options
author | Sascha Hauer <[email protected]> | 2016-02-11 11:44:49 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-02-16 16:04:08 -0500 |
commit | a407054f830ca9a28febdeeeaa34d2ed420b9ed3 (patch) | |
tree | 055d5145152317b4325da388de12fc2c1685e171 /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions