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 04/10 linux-next] usb: gadget: remove unnecessary break after return
Date
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
drivers/usb/gadget/legacy/tcm_usb_gadget.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/usb/gadget/legacy/tcm_usb_gadget.c b/drivers/usb/gadget/legacy/tcm_usb_gadget.c
index 6cdb7a5..fb7cbb4 100644
--- a/drivers/usb/gadget/legacy/tcm_usb_gadget.c
+++ b/drivers/usb/gadget/legacy/tcm_usb_gadget.c
@@ -465,13 +465,11 @@ static int usbg_bot_setup(struct usb_function *f,
*ret_lun = luns;
cdev->req->length = 1;
return usb_ep_queue(cdev->gadget->ep0, cdev->req, GFP_ATOMIC);
- break;

case US_BULK_RESET_REQUEST:
/* XXX maybe we should remove previous requests for IN + OUT */
bot_enqueue_cmd_cbw(fu);
return 0;
- break;
}
return -ENOTSUPP;
}
--
1.8.4.5


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