usb: gadget: remove redundant self assignment
authorStefan Agner <stefan@agner.ch>
Mon, 17 Apr 2017 03:12:50 +0000 (20:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Apr 2018 10:12:45 +0000 (12:12 +0200)
commit17af7983691f9394e5e3619e910570f8897b5ab0
treef820e03f276f6bd8df1dfa65dad6117de8aafdca
parentfc7a9eb0f88375fc27e2454b256dc19ebc283ac8
usb: gadget: remove redundant self assignment

commit 8a8b161df5ce06ef5a315899f83978e765be09e8 upstream.

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>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/core.c