Skip to content

Commit

Permalink
usb-linux: remove unreachable default in switch statement
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
  • Loading branch information
pebolle authored and Anthony Liguori committed Mar 17, 2010
1 parent b6034a3 commit 3c9c706
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions usb-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c9c706

Please sign in to comment.