]> Git Repo - qemu.git/commitdiff
usb-linux: remove unreachable default in switch statement
authorPaul Bolle <[email protected]>
Mon, 8 Mar 2010 12:58:35 +0000 (13:58 +0100)
committerAnthony Liguori <[email protected]>
Wed, 17 Mar 2010 15:41:39 +0000 (10:41 -0500)
Signed-off-by: Paul Bolle <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
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;
This page took 0.028559 seconds and 4 git commands to generate.