diff options
author | 2017-11-28 14:19:49 +0100 | |
---|---|---|
committer | 2017-11-28 10:09:50 -0500 | |
commit | 26146b0e6b6869c6cd8a45ab3a4a5562e7a91b23 (patch) | |
tree | 81cb229bec7b0b18e66af3633f5ae4a6b35c1159 /lib | |
parent | net: mvpp2: fix the txq_init error path (diff) | |
download | linux-26146b0e6b6869c6cd8a45ab3a4a5562e7a91b23.tar.gz linux-26146b0e6b6869c6cd8a45ab3a4a5562e7a91b23.tar.bz2 linux-26146b0e6b6869c6cd8a45ab3a4a5562e7a91b23.zip |
net: mvpp2: cleanup probed ports in the probe error path
This patches fixes the probe error path by cleaning up probed ports, to
avoid leaving registered net devices when the driver failed to probe.
Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions