forked from len0rd/rockbox
usb: remove dead code in usb_storage driver
Change-Id: Id6fc3520dad1adace33fd1014288ccb4cf5818af
This commit is contained in:
parent
988f244c74
commit
a665c1faad
1 changed files with 0 additions and 11 deletions
|
@ -589,17 +589,6 @@ void usb_storage_transfer_complete(int ep,int dir,int status,int length)
|
||||||
}
|
}
|
||||||
handle_scsi(cbw);
|
handle_scsi(cbw);
|
||||||
break;
|
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:
|
case SENDING_RESULT:
|
||||||
if(dir==USB_DIR_OUT) {
|
if(dir==USB_DIR_OUT) {
|
||||||
logf("OUT received in SENDING");
|
logf("OUT received in SENDING");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue