|
@@ -443,7 +443,6 @@ static int dwc3_ep0_handle_feature(struct dwc3 *dwc,
|
|
|
|
|
|
case USB_DEVICE_LTM_ENABLE:
|
|
case USB_DEVICE_LTM_ENABLE:
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
- break;
|
|
|
|
|
|
|
|
case USB_DEVICE_TEST_MODE:
|
|
case USB_DEVICE_TEST_MODE:
|
|
if ((wIndex & 0xff) != 0)
|
|
if ((wIndex & 0xff) != 0)
|
|
@@ -552,7 +551,6 @@ static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl)
|
|
switch (state) {
|
|
switch (state) {
|
|
case USB_STATE_DEFAULT:
|
|
case USB_STATE_DEFAULT:
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
- break;
|
|
|
|
|
|
|
|
case USB_STATE_ADDRESS:
|
|
case USB_STATE_ADDRESS:
|
|
ret = dwc3_ep0_delegate_req(dwc, ctrl);
|
|
ret = dwc3_ep0_delegate_req(dwc, ctrl);
|