diff options
| author | Webb Scales <[email protected]> | 2015-01-23 16:44:50 -0600 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-02-02 09:57:43 -0800 |
| commit | 8ebc92483211f49ee5f072d2e51de3e70ca05fc1 (patch) | |
| tree | e41256b2ea640d0e7dbd039bdcc63eba6ae0cb9d /tools/perf/scripts/python/check-perf-trace.py | |
| parent | ec5cbf0422500ada7682a95e5c379dd13dd3a74c (diff) | |
hpsa: refactor duplicated scan completion code into a new routine
Hoist the conditional out of do_not_scan_if_controller_locked_up() and
place it in the caller (this improves the code structure, making it
more consistent with other uses and enabling tail-call optimization);
rename the function to hpsa_scan_complete(), and use it at the end of
hpsa_scan_start() as well.
Reviewed-by: Scott Teel <[email protected]>
Signed-off-by: Webb Scales <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions