mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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>
This commit is contained in:
parent
b6034a399e
commit
3c9c706c3b
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue