aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2022-02-20 12:18:09 +0900
committerMartin K. Petersen <[email protected]>2022-02-22 21:31:21 -0500
commitca44f98d619481094d38524077e9e638aafa2923 (patch)
treeefa3fa33fe553d2564896b8b875424e8050b74f3 /tools/perf/scripts/python/flamegraph.py
parent304fe11bdc25b4c8a6c9551590d256f647158805 (diff)
scsi: pm8001: Improve pm80XX_send_abort_all()
Both pm8001_send_abort_all() and pm80xx_send_abort_all() are called only for a non null device with the NCQ_READ_LOG_FLAG set, so remove the device check on entry of these functions. Furthermore, setting the NCQ_ABORT_ALL_FLAG device id flag and clearing the NCQ_READ_LOG_FLAG is always done before calling these functions. Move these operations inside the functions. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jack Wang <[email protected]> Signed-off-by: Damien Le Moal <[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