diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-09-12 15:30:05 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-10-03 21:34:43 -0400 |
commit | b1e8c53749adb795bfb0bf4e2f7836e26684bb90 (patch) | |
tree | c5da9668ef4e4929c70381c8b9652603c2386cc1 /tools/perf/scripts/python/task-analyzer.py | |
parent | fcd8b0450a9acbf3f0e88d749a72ef932df97663 (diff) | |
download | linux-b1e8c53749adb795bfb0bf4e2f7836e26684bb90.tar.gz linux-b1e8c53749adb795bfb0bf4e2f7836e26684bb90.tar.bz2 linux-b1e8c53749adb795bfb0bf4e2f7836e26684bb90.zip |
scsi: ufs: core: Always initialize the UIC done completion
Simplify __ufshcd_send_uic_cmd() by always initializing the
uic_cmd::done completion. This is fine since the time required to
initialize a completion is small compared to the time required to
process an UIC command.
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240912223019.3510966-5-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions