mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07: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:
committed by
Anthony Liguori
parent
b6034a399e
commit
3c9c706c3b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user