diff options
| author | Sergio Paracuellos <[email protected]> | 2018-04-23 15:44:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-25 15:47:23 +0200 |
| commit | 0cc053ddd47c217abb500bb65ffdadd12d878700 (patch) | |
| tree | 2eaea1741e16a4d5d9b533aed4964a2443803f49 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 31d7b1b142a17764ab9f21e37c02163b518d571b (diff) | |
staging: ks7010: fix error paths in ks7010_sdio_remove function
This commit reviews and fixes error paths in ks7010_sdio_remove
driver function. It change logic to handle error directly
after priv dereference to avoid one level indentation. It also
removes a temporal netdev variable which wasn't being used in all
of the function calls. Also if send_stop_request call fails it
was making a direct 'return' instead of doing a properly cleaning.
Because of this a new 'err_free_card' label has been added.
Signed-off-by: Sergio Paracuellos <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions