lkml.org 
[lkml]   [2014]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 03/10 linux-next] usb: dcw3: remove unnecessary break after return
Date
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
drivers/usb/dwc3/ep0.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index 21a3520..927dad3 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -422,7 +422,6 @@ static int dwc3_ep0_handle_feature(struct dwc3 *dwc,

case USB_DEVICE_LTM_ENABLE:
return -EINVAL;
- break;

case USB_DEVICE_TEST_MODE:
if ((wIndex & 0xff) != 0)
@@ -530,7 +529,6 @@ static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl)
switch (state) {
case USB_STATE_DEFAULT:
return -EINVAL;
- break;

case USB_STATE_ADDRESS:
ret = dwc3_ep0_delegate_req(dwc, ctrl);
--
1.8.4.5


\
 
 \ /
  Last update: 2014-07-24 11:03    [W:0.075 / U:6.412 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site