aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaniel Wagner <[email protected]>2020-09-08 10:15:14 +0200
committerMartin K. Petersen <[email protected]>2020-09-09 22:01:43 -0400
commit622299f16f33852baddf94b32bc80e2c1e24c39a (patch)
tree6f31f4353bd1f9649461a06d58fde288aa13980e /tools/perf/scripts/python/bin
parentc0014f94218ea3a312f6235febea0d626c5f2154 (diff)
scsi: qla2xxx: Simplify return value logic in qla2x00_get_sp_from_handle()
Refactor qla2x00_get_sp_from_handle() to avoid the unnecessary goto if early returns are used. With this we can also avoid preinitialzing the sp pointer. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Martin Wilck <[email protected]> Reviewed-by: Arun Easi <[email protected]> Signed-off-by: Daniel Wagner <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions