aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2021-10-07 13:28:14 -0700
committerMartin K. Petersen <[email protected]>2021-10-16 21:28:45 -0400
commit3ab3b151ff1257623002d5e9b90c67f3e61228f2 (patch)
treeedd8714a57ff5e0fcc5a132b6d6e3a15a6263f96 /tools/perf/scripts/python/bin
parentf3bc9338e08de19f795b184a959c583195e1d6fd (diff)
scsi: aha152x: Call scsi_done() directly
Conditional statements are faster than indirect calls. Hence call scsi_done() and reset_done() directly. The changes in this patch are as follows: - Remove the 'done' argument from aha152x_internal_queue(). - Change ptr->scsi_done(ptr) into aha152x_scsi_done(ptr). - Inside aha152x_scsi_done(), check the 'resetting' flag of SCp.phase since aha152x_internal_queue() specifies the 'reset_done' function pointer if and only if the third argument has the value 'resetting'. Link: https://lore.kernel.org/r/[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/bin')
0 files changed, 0 insertions, 0 deletions