summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-09-24 00:01:53 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-10-16 21:14:42 +0100
commita665c1faada95e95a51072bfb78d3157ccb5fe85 (patch)
tree4e198349c5654236fb69d6e7082206d07913c401
parent988f244c74bd388c2ae9f615b3504f1461d93404 (diff)
downloadrockbox-a665c1faada95e95a51072bfb78d3157ccb5fe85.tar.gz
rockbox-a665c1faada95e95a51072bfb78d3157ccb5fe85.zip
usb: remove dead code in usb_storage driver
Change-Id: Id6fc3520dad1adace33fd1014288ccb4cf5818af
-rw-r--r--firmware/usbstack/usb_storage.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index b6b10d4633..6d79be06ca 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -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");