usb: gadget: remove redundant self assignment
authorStefan Agner <stefan@agner.ch>
Mon, 17 Apr 2017 03:12:50 +0000 (20:12 -0700)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 2 Jun 2017 08:22:31 +0000 (11:22 +0300)
commit8a8b161df5ce06ef5a315899f83978e765be09e8
tree795921e4cc42124b7244f1647d23028ddb9eed91
parentb0b3ddf8fb37283d0d488d667fac4c069d612ba3
usb: gadget: remove redundant self assignment

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

Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/core.c