summaryrefslogtreecommitdiff
path: root/drivers/staging/usbip/vhci_hcd.c
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-05-06 10:47:54 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-06 21:26:15 (GMT)
commit49aecefcdef5a26a7fb036d4c57573f0e0e2089b (patch)
tree2ce61485855d09f21d8b812739fb2abcfee6a526 /drivers/staging/usbip/vhci_hcd.c
parent5c6499d8bfff6090391ea4995512e78385b9b1e7 (diff)
downloadlinux-49aecefcdef5a26a7fb036d4c57573f0e0e2089b.tar.xz
staging: usbip: add break to default case in switch statements
For consistency, a break statement is added to all default cases that do not jump to a label. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/vhci_hcd.c')
-rw-r--r--drivers/staging/usbip/vhci_hcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index d256698..a94c278 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -320,6 +320,7 @@ static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
usbip_dbg_vhci_rh(" ClearPortFeature: default %x\n",
wValue);
dum->port_status[rhport] &= ~(1 << wValue);
+ break;
}
break;
case GetHubDescriptor:
@@ -451,6 +452,7 @@ static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
usbip_dbg_vhci_rh(" SetPortFeature: default %d\n",
wValue);
dum->port_status[rhport] |= (1 << wValue);
+ break;
}
break;