staging: wilc1000: wilc_wlan: Compress return logic
authorNamrata A Shettar <namrataashettar@gmail.com>
Fri, 30 Sep 2016 13:44:36 +0000 (19:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 15:19:51 +0000 (17:19 +0200)
commit0ca8df12e78f3085224faac9058a2d278992dd82
treeabd45329c9042a3b608914cfd375900cfa630c44
parent52b4f6e081ba20adac694f5e445be2dcb469d3a1
staging: wilc1000: wilc_wlan: Compress return logic

Compress return logic. Done using Coccinelle :
@@
local idexpression ret;
expression e;
@@

-ret=
+return
  e;
  -return ret;

Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c