Revert "usb: uas: set host status byte on data completion error"

This reverts commit 1192d08166.
This commit is contained in:
Ksawlii 2024-11-24 00:23:42 +01:00
parent e348db18c0
commit 92f524a047

View file

@ -424,7 +424,6 @@ static void uas_data_cmplt(struct urb *urb)
uas_log_cmd_state(cmnd, "data cmplt err", status);
/* error: no data transfered */
scsi_set_resid(cmnd, sdb->length);
set_host_byte(cmnd, DID_ERROR);
} else {
scsi_set_resid(cmnd, sdb->length - urb->actual_length);
}