usb: remove dead code in usb_storage driver

Change-Id: Id6fc3520dad1adace33fd1014288ccb4cf5818af
This commit is contained in:
Aidan MacDonald 2021-09-24 00:01:53 +01:00
parent 988f244c74
commit a665c1faad
1 changed files with 0 additions and 11 deletions

View File

@ -589,17 +589,6 @@ void usb_storage_transfer_complete(int ep,int dir,int status,int length)
}
handle_scsi(cbw);
break;
#if 0
if(cur_cmd.cur_cmd == SCSI_WRITE_10)
{
queue_broadcast(SYS_USB_WRITE_DATA, (cur_cmd.lun<<16)+cur_cmd.orig_count);
}
else if(cur_cmd.cur_cmd == SCSI_READ_10)
{
queue_broadcast(SYS_USB_READ_DATA, (cur_cmd.lun<<16)+cur_cmd.orig_count);
}
#endif
break;
case SENDING_RESULT:
if(dir==USB_DIR_OUT) {
logf("OUT received in SENDING");