diff options
author | 2016-08-12 22:05:40 -0700 | |
---|---|---|
committer | 2016-08-13 11:48:52 -0700 | |
commit | cecd6e510c65b25c9a3fcc09480f561189a7c3b8 (patch) | |
tree | 00a13d7a33325acf7dd3d03fe7cf869d9c650ccf /fs/proc | |
parent | drivers: net: xgene: fix: Delete descriptor rings and buffer pools (diff) | |
download | wireguard-linux-cecd6e510c65b25c9a3fcc09480f561189a7c3b8.tar.xz wireguard-linux-cecd6e510c65b25c9a3fcc09480f561189a7c3b8.zip |
drivers: net: xgene: Fix error deconstruction path
Since register_netdev() call in xgene_enet_probe() was moved down to
the end, it doesn't properly handle errors that may occur, by
deconstructing everything that was setup before the error occurred.
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions