staging: gdm72xx: compress return logic into one line
authorAlison Schofield <amsfield22@gmail.com>
Wed, 10 Feb 2016 18:34:00 +0000 (10:34 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 04:00:30 +0000 (20:00 -0800)
commit474be12de61c60503ee6164b65afd5608e60b80c
tree99d37a30960c07028569f887e1cf8cd80515afb0
parent5a41b934766a00764669922f1faac1fbdcc179bd
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>
drivers/staging/gdm72xx/netlink_k.c
drivers/staging/gdm72xx/usb_boot.c