From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NocXu-0002xF-8X for qemu-devel@nongnu.org; Mon, 08 Mar 2010 07:58:54 -0500 Received: from [199.232.76.173] (port=51907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NocXt-0002wx-Sw for qemu-devel@nongnu.org; Mon, 08 Mar 2010 07:58:53 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NocXs-00087g-7H for qemu-devel@nongnu.org; Mon, 08 Mar 2010 07:58:53 -0500 Received: from smtp-out3.tiscali.nl ([195.241.79.178]:52973) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NocXr-000870-R3 for qemu-devel@nongnu.org; Mon, 08 Mar 2010 07:58:52 -0500 Received: from [212.123.169.34] (helo=[192.168.1.102]) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1NocXo-000349-JH for qemu-devel@nongnu.org; Mon, 08 Mar 2010 13:58:48 +0100 From: Paul Bolle Content-Type: text/plain; charset="UTF-8" Date: Mon, 08 Mar 2010 13:58:35 +0100 Message-ID: <1268053115.2130.4.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] [TRIVIAL] usb-linux: remove unreachable default in switch statement List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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; -- 1.7.0.1