projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6034a3
)
usb-linux: remove unreachable default in switch statement
author
Paul Bolle
<pebolle@tiscali.nl>
Mon, 8 Mar 2010 12:58:35 +0000
(13:58 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 17 Mar 2010 15:41:39 +0000
(10:41 -0500)
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
usb-linux.c
patch
|
blob
|
history
diff --git
a/usb-linux.c
b/usb-linux.c
index d0d7cff496f29839aa8b36107ffc254ae3cb141f..1ecfbc45655532510baf35702e5c98173e2b6188 100644
(file)
--- 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;