aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2010-03-08 13:58:35 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-03-17 10:41:39 -0500
commit3c9c706c3b66d838942aba53c0d3fdcdf06c7423 (patch)
treeb163e29acc02d5a56c2ddaf554935204dc95d120
parentb6034a399e37b6e6ff71b1def7c69d72a0e892b6 (diff)
usb-linux: remove unreachable default in switch statement
Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--usb-linux.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usb-linux.c b/usb-linux.c
index d0d7cff496..1ecfbc4565 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;