From patchwork Mon Mar 8 12:58:35 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 47113 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id ACB79B7CE6 for ; Tue, 9 Mar 2010 00:00:32 +1100 (EST) Received: from localhost ([127.0.0.1]:53643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NocZ6-0002xR-Oa for incoming@patchwork.ozlabs.org; Mon, 08 Mar 2010 08:00:08 -0500 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 To: qemu-devel@nongnu.org Date: Mon, 08 Mar 2010 13:58:35 +0100 Message-ID: <1268053115.2130.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.29.91 (2.29.91-1.fc13) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [Qemu-devel] [PATCH] [TRIVIAL] usb-linux: remove unreachable default in switch statement X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@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;