aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2018-04-23 15:44:45 +0200
committerGreg Kroah-Hartman <[email protected]>2018-04-25 15:47:23 +0200
commit0cc053ddd47c217abb500bb65ffdadd12d878700 (patch)
tree2eaea1741e16a4d5d9b533aed4964a2443803f49 /tools/perf/scripts/python
parent31d7b1b142a17764ab9f21e37c02163b518d571b (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')
0 files changed, 0 insertions, 0 deletions