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:
Paul Bolle 2010-03-08 13:58:35 +01:00 committed by Anthony Liguori
parent b6034a399e
commit 3c9c706c3b

View 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;