2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/drivers/usb/isp1760
Gustavo A. R. Silva 992510f3b6 usb: isp1760: compress return logic into one line
Simplify return logic to avoid unnecessary variable assignment.

This issue was detected using Coccinelle and the following
semantic patch:

@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-17 13:13:44 +02:00
..
isp1760-core.c usb: isp1760: set IRQ flags properly 2015-03-09 10:46:15 -05:00
isp1760-core.h
isp1760-hcd.c usb: isp1760: compress return logic into one line 2017-07-17 13:13:44 +02:00
isp1760-hcd.h
isp1760-if.c usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW 2017-03-17 13:16:56 +09:00
isp1760-regs.h
isp1760-udc.c usb: isp1760: constify usb_gadget_ops structures 2017-01-19 10:34:45 +01:00
isp1760-udc.h
Kconfig
Makefile