mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06: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…
Add table
Add a link
Reference in a new issue