From: Paul Bolle Date: Mon, 8 Mar 2010 12:58:35 +0000 (+0100) Subject: usb-linux: remove unreachable default in switch statement X-Git-Tag: v0.13.0-rc0~1075 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c9c706c3b66d838942aba53c0d3fdcdf06c7423;p=thirdparty%2Fqemu.git usb-linux: remove unreachable default in switch statement Signed-off-by: Paul Bolle Signed-off-by: Anthony Liguori --- diff --git a/usb-linux.c b/usb-linux.c index d0d7cff496f..1ecfbc45655 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -846,9 +846,6 @@ static int usb_linux_update_endp_table(USBHostDevice *s) case 0x03: type = USBDEVFS_URB_TYPE_INTERRUPT; break; - default: - DPRINTF("usb_host: malformed endpoint type\n"); - type = USBDEVFS_URB_TYPE_BULK; } s->endp_table[(devep & 0xf) - 1].type = type; s->endp_table[(devep & 0xf) - 1].halted = 0;