mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
UPSTREAM: 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.de
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit db83d8a5c8)
Bug: 204438323
Change-Id: I9eb11ac47769a031e7cd038165408db2fac30f7f
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
committed by
Bart Van Assche
parent
0b0e88f6c9
commit
0d81d06069
@@ -5052,9 +5052,7 @@ ufshcd_scsi_cmd_status(struct ufshcd_lrb *lrbp, int scsi_status)
|
||||
ufshcd_copy_sense_data(lrbp);
|
||||
fallthrough;
|
||||
case SAM_STAT_GOOD:
|
||||
result |= DID_OK << 16 |
|
||||
COMMAND_COMPLETE << 8 |
|
||||
scsi_status;
|
||||
result |= DID_OK << 16 | scsi_status;
|
||||
break;
|
||||
case SAM_STAT_TASK_SET_FULL:
|
||||
case SAM_STAT_BUSY:
|
||||
|
||||
Reference in New Issue
Block a user