|
| From: | Anthony Liguori |
| Subject: | Re: [Qemu-devel] [PATCH] [TRIVIAL] usb-linux: remove unreachable default in switch statement |
| Date: | Wed, 17 Mar 2010 10:59:34 -0500 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 03/08/2010 06:58 AM, Paul Bolle wrote:
Signed-off-by: Paul Bolle<address@hidden>
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;
| [Prev in Thread] | Current Thread | [Next in Thread] |