From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nrveo-0004FK-KR for qemu-devel@nongnu.org; Wed, 17 Mar 2010 11:59:42 -0400 Received: from [199.232.76.173] (port=47302 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nrveo-0004Eq-3U for qemu-devel@nongnu.org; Wed, 17 Mar 2010 11:59:42 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nrvem-0001Qw-Fs for qemu-devel@nongnu.org; Wed, 17 Mar 2010 11:59:41 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:59181) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nrvem-0001Qh-1R for qemu-devel@nongnu.org; Wed, 17 Mar 2010 11:59:40 -0400 Received: by pxi6 with SMTP id 6so710293pxi.18 for ; Wed, 17 Mar 2010 08:59:39 -0700 (PDT) Message-ID: <4BA0FC66.6080307@codemonkey.ws> Date: Wed, 17 Mar 2010 10:59:34 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] [TRIVIAL] usb-linux: remove unreachable default in switch statement References: <1268053115.2130.4.camel@localhost.localdomain> In-Reply-To: <1268053115.2130.4.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Bolle Cc: qemu-devel@nongnu.org On 03/08/2010 06:58 AM, Paul Bolle wrote: > Signed-off-by: Paul Bolle > Applied. Thanks. Regards, Anthony Liguori > --- > 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; >