usb-linux: Add missing break statement

cppcheck report:
usb-linux.c:661: warning: Redundant assignment of "len" in switch

Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Stefan Weil 2011-05-07 22:10:53 +02:00 committed by Gerd Hoffmann
parent b3e5759e09
commit 0225e254ae
1 changed files with 1 additions and 0 deletions

View File

@ -659,6 +659,7 @@ static int usb_host_handle_iso_data(USBHostDevice *s, USBPacket *p, int in)
switch(errno) { switch(errno) {
case ETIMEDOUT: case ETIMEDOUT:
len = USB_RET_NAK; len = USB_RET_NAK;
break;
case EPIPE: case EPIPE:
default: default:
len = USB_RET_STALL; len = USB_RET_STALL;