linux_dsm_epyc7002/drivers/usb/misc/sisusbvga
Gustavo A. R. Silva e6f9e13b62 usb: misc: sisusbvga: compress return logic into one line
Simplify return logic to avoid unnecessary variable declaration
and assignment.

These issues were 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
..
Kconfig console/font: Refactor font support code selection logic 2013-06-23 15:55:16 +02:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
sisusb_con.c sisusb_con: fix coccinelle warning 2017-05-17 11:27:41 +02:00
sisusb_init.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
sisusb_init.h sisusb: remove dummy variables 2016-06-25 09:04:48 -07:00
sisusb_struct.h USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb_struct.h 2007-10-12 14:55:13 -07:00
sisusb.c usb: misc: sisusbvga: compress return logic into one line 2017-07-17 13:13:44 +02:00
sisusb.h USB: sisusbvga: drop usb_buffer_alloc 2009-09-23 06:46:19 -07:00