diff options
author | Gerd Hoffmann | 2014-04-25 12:09:21 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2014-05-05 12:57:53 +0200 |
commit | 9cd04ccf75759b660ab3d5e98b2653f3e8ee8b3e (patch) | |
tree | 4390170ae197fed27bd2665c2d016b472516413f /hw/usb | |
parent | usb: mtp: avoid empty description string (diff) | |
download | qemu-9cd04ccf75759b660ab3d5e98b2653f3e8ee8b3e.tar.gz qemu-9cd04ccf75759b660ab3d5e98b2653f3e8ee8b3e.tar.xz qemu-9cd04ccf75759b660ab3d5e98b2653f3e8ee8b3e.zip |
usb: mtp: drop data-out hexdump
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/usb')
-rw-r--r-- | hw/usb/dev-mtp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c index a30a88639c..b6eaeae17a 100644 --- a/hw/usb/dev-mtp.c +++ b/hw/usb/dev-mtp.c @@ -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; } |