diff options
| author | Iyappan Subramanian <isubramanian@apm.com> | 2016-08-12 22:05:40 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-08-13 11:48:52 -0700 |
| commit | cecd6e510c65b25c9a3fcc09480f561189a7c3b8 (patch) | |
| tree | 00a13d7a33325acf7dd3d03fe7cf869d9c650ccf /tools/perf/scripts/python | |
| parent | drivers: net: xgene: fix: Delete descriptor rings and buffer pools (diff) | |
| download | linux-cecd6e510c65b25c9a3fcc09480f561189a7c3b8.tar.gz 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
