usb: gadget: remove redundant self assignment
authorColin Ian King <colin.king@canonical.com>
Mon, 25 Jul 2016 21:57:36 +0000 (22:57 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:08 +0000 (12:13 +0300)
commitf510b5a1d00bba1c908a4886e4c3309aca0abc8c
treed9c49e3937a66681b54c12b9dbc3e188ae858cc6
parenta08f5dbf877a4594816dbb499c4af18fce936110
usb: gadget: remove redundant self assignment

The assignment ret = ret is redundant and can be removed.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/core.c