staging: wilc1000: Merge assignment with return
commitd37843d1a956bf87e219067a0f45bc82db260216
authorRehas Sachdeva <aquannie@gmail.com>
Tue, 20 Sep 2016 07:48:40 +0000 (20 13:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2016 11:32:28 +0000 (20 13:32 +0200)
treee82ed0097af64c910a7b6c393302bd8ccc048d17
parent51319662d6ac5729a1950579d70808d94e4fa8e6
staging: wilc1000: Merge assignment with return

Instead of storing the return value into a variable and then returning it, we
can club the two into a single return statement. This change was made using
the following semantic patch by Coccinelle:

@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_spi.c
drivers/staging/wilc1000/wilc_wlan.c