Commit db83d8a5 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Martin K. Petersen

scsi: ufs: ufshcd: Do not set COMMAND_COMPLETE

COMMAND_COMPLETE is defined as '0', so setting it is quite pointless.

Link: https://lore.kernel.org/r/20210113090500.129644-24-hare@suse.deReviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 7a64c814
...@@ -4911,9 +4911,7 @@ ufshcd_scsi_cmd_status(struct ufshcd_lrb *lrbp, int scsi_status) ...@@ -4911,9 +4911,7 @@ ufshcd_scsi_cmd_status(struct ufshcd_lrb *lrbp, int scsi_status)
ufshcd_copy_sense_data(lrbp); ufshcd_copy_sense_data(lrbp);
fallthrough; fallthrough;
case SAM_STAT_GOOD: case SAM_STAT_GOOD:
result |= DID_OK << 16 | result |= DID_OK << 16 | scsi_status;
COMMAND_COMPLETE << 8 |
scsi_status;
break; break;
case SAM_STAT_TASK_SET_FULL: case SAM_STAT_TASK_SET_FULL:
case SAM_STAT_BUSY: case SAM_STAT_BUSY:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment