]> git.proxmox.com Git - mirror_qemu.git/commitdiff
usb-linux: remove unreachable default in switch statement
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 8 Mar 2010 12:58:35 +0000 (13:58 +0100)
committerAnthony 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

index d0d7cff496f29839aa8b36107ffc254ae3cb141f..1ecfbc45655532510baf35702e5c98173e2b6188 100644 (file)
@@ -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;