From patchwork Mon Mar 8 12:58:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [TRIVIAL] usb-linux: remove unreachable default in switch statement Date: Mon, 08 Mar 2010 02:58:35 -0000 From: Paul Bolle X-Patchwork-Id: 47113 Message-Id: <1268053115.2130.4.camel@localhost.localdomain> To: qemu-devel@nongnu.org Signed-off-by: Paul Bolle --- usb-linux.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index a9c15c6..23155dd 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;