usb: chipidea: usbmisc_imx: fix returnvar.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 25 Mar 2015 06:23:52 +0000 (07:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 09:44:37 +0000 (10:44 +0100)
commit1fcefbdf06708a5811ffa8acc949714aee60ae13
tree57e19e835c92683131e490c620a2ba83145c74a0
parent1c41a9570a02cec80be5fb4f7f9cf206220d84a5
usb: chipidea: usbmisc_imx: fix returnvar.cocci warnings

drivers/usb/chipidea/usbmisc_imx.c:277:5-8: Unneeded variable: "ret". Return "0" on line 297

 Removes unneeded variable used to store return value.

Generated by: scripts/coccinelle/misc/returnvar.cocci

Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/usbmisc_imx.c