diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-11-04 10:37:30 +0900 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-05 13:33:10 -0600 |
commit | 5eb125b55c8cf6cf6fa1ed7b84a7eeefc7a993aa (patch) | |
tree | c2ffb5f42adf7129ff888762661edfeca8ae4b1b /drivers/usb/dwc3 | |
parent | baadd52f0aa7a100192661132299f13e763932df (diff) |
usb: dwc3: ep0: remove unnecessary break after return
Fix the following checkpatch warning.
WARNING: break is not useful after a goto or return
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/ep0.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 4c86772126ed..baeedbd67f77 100644 --- a/drivers/usb/dwc3/ep0.c +++ b/drivers/usb/dwc3/ep0.c @@ -443,7 +443,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) @@ -552,7 +551,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); |