OSDN Git Service

usb: mtp: drop data-out hexdump
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Apr 2014 10:09:21 +0000 (12:09 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 5 May 2014 10:57:53 +0000 (12:57 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/usb/dev-mtp.c

index a30a886..b6eaeae 100644 (file)
@@ -1011,8 +1011,7 @@ static void usb_mtp_handle_data(USBDevice *dev, USBPacket *p)
             usb_mtp_command(s, &cmd);
             break;
         default:
-            iov_hexdump(p->iov.iov, p->iov.niov, stderr, "mtp-out", 32);
-            trace_usb_mtp_stall(s->dev.addr, "TODO: implement data-out");
+            /* not needed as long as the mtp device is read-only */
             p->status = USB_RET_STALL;
             return;
         }