1
0
Fork 0
alistair23-linux/drivers/staging/gdm72xx
Alison Schofield 474be12de6 staging: gdm72xx: compress return logic into one line
Simplify function returns by merging assignment and return into
one command line.
Found with Coccinelle
@@
expression e, ret;
@@

-ret =
+return
	e;
-return ret;

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-11 20:00:30 -08:00
..
Kconfig PM / Kconfig: Replace PM_RUNTIME with PM in dependencies 2014-12-13 00:44:04 +01:00
Makefile
TODO staging: gdm72xx: Remove task from TODO list 2014-05-16 12:12:52 -07:00
gdm_qos.c Staging: gdm72xx: Add appropriate comment for spinlock_t definition 2016-02-07 20:10:47 -08:00
gdm_qos.h Staging: gdm72xx: Add appropriate comment for spinlock_t definition 2016-02-07 20:10:47 -08:00
gdm_sdio.c staging: gdm72xx: Replace timeval with ktime_t 2015-12-26 17:13:33 -08:00
gdm_sdio.h Staging: gdm72xx: Add appropriate comment for spinlock_t definition 2016-02-07 20:10:47 -08:00
gdm_usb.c Staging: gdm72xx: Remove multiple blank lines 2016-02-07 20:10:47 -08:00
gdm_usb.h Staging: gdm72xx: Prefer using the BIT macro 2016-02-07 20:10:47 -08:00
gdm_wimax.c Staging: gdm72xx: Add appropriate comment for spinlock_t definition 2016-02-07 20:10:47 -08:00
gdm_wimax.h staging: gdm72xx: Use net_device_stats from struct net_device 2014-07-09 11:57:16 -07:00
hci.h Staging: gdm72xx: Prefer using the BIT macro 2016-02-07 20:10:47 -08:00
netlink_k.c staging: gdm72xx: compress return logic into one line 2016-02-11 20:00:30 -08:00
netlink_k.h staging: gdm72xx: use consistent style for header guards 2014-07-09 11:49:15 -07:00
sdio_boot.c staging: gdm72xx: NULL comparison style 2015-09-12 18:24:53 -07:00
sdio_boot.h staging: gdm72xx: use consistent style for header guards 2014-07-09 11:49:15 -07:00
usb_boot.c staging: gdm72xx: compress return logic into one line 2016-02-11 20:00:30 -08:00
usb_boot.h staging: gdm72xx: use consistent style for header guards 2014-07-09 11:49:15 -07:00
usb_ids.h Staging: gdm72xx: Add space around that "+", "&" and "|" 2016-02-07 20:10:44 -08:00
wm_ioctl.h staging: gdm72xx: add userspace data struct 2015-12-26 17:13:33 -08:00