diff options
| author | Bart Van Assche <[email protected]> | 2020-06-29 15:54:53 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-06-30 23:12:23 -0400 |
| commit | f85a299f5ec55c82403cd2bc4aeaaedebfcf5ef6 (patch) | |
| tree | 7294bdca7e84347a8015630975cb4564a50b5f61 /tools/perf/scripts/python/flamegraph.py | |
| parent | 57fec9f24e580d8fe4219ee89572f49758e62c75 (diff) | |
scsi: qla2xxx: Make qla2x00_restart_isp() easier to read
Instead of using complicated control flow to only have one return statement
at the end of qla2x00_restart_isp(), return an error status as soon as it
is known that this function will fail.
Link: https://lore.kernel.org/r/[email protected]
Cc: Nilesh Javali <[email protected]>
Cc: Quinn Tran <[email protected]>
Cc: Himanshu Madhani <[email protected]>
Cc: Martin Wilck <[email protected]>
Cc: Roman Bolshakov <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions