Skip to content

Commit 7255403

Browse files
bvanasschemartinkpetersen
authored andcommitted
scsi: ufs: core: Remove a ufshcd_add_command_trace() call
ufshcd_add_command_trace() traces SCSI commands. Remove a ufshcd_add_command_trace() call from a code path that is not related to SCSI commands. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230531224050.25554-1-bvanassche@acm.org Reviewed-by: Avri Altman <avri.altman@wdc.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 467e6cc commit 7255403

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/ufs/core/ufshcd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5447,7 +5447,6 @@ void ufshcd_compl_one_cqe(struct ufs_hba *hba, int task_tag,
54475447
lrbp->command_type == UTP_CMD_TYPE_UFS_STORAGE) {
54485448
if (hba->dev_cmd.complete) {
54495449
hba->dev_cmd.cqe = cqe;
5450-
ufshcd_add_command_trace(hba, task_tag, UFS_DEV_COMP);
54515450
complete(hba->dev_cmd.complete);
54525451
ufshcd_clk_scaling_update_busy(hba);
54535452
}

0 commit comments

Comments
 (0)