staging: wilc1000: wilc_spi: Compress return logic
authorNamrata A Shettar <namrataashettar@gmail.com>
Fri, 30 Sep 2016 13:44:54 +0000 (19:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Oct 2016 15:19:51 +0000 (17:19 +0200)
commit8244d269098348f9bcfbcfed5c443857b4c8ffc7
tree38ea65b2f29f0dbb13b9576b30a4ba0eef539d31
parent0ca8df12e78f3085224faac9058a2d278992dd82
staging: wilc1000: wilc_spi: 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_spi.c