提交 3c9c706c 编写于 作者: P Paul Bolle 提交者: Anthony Liguori

usb-linux: remove unreachable default in switch statement

Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 b6034a39
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册