Staging: rtl8192e: rtl8192e: Remove unnecessory variable
authorVaishali Thakkar <vthakkar1994@gmail.com>
Wed, 17 Sep 2014 02:32:43 +0000 (08:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:11:06 +0000 (17:11 -0700)
commit5c8b3961da9a55762ea5481e8f9412c0d18dc684
tree150b13687b56fe25c315dff848fd1b7d314d91fe
parent4309635f692192ddcc540964189d92cad0ade249
Staging: rtl8192e: rtl8192e: Remove unnecessory variable

This patch removes unnecessory variable in file ret_core.c
using coccinelle script.Semantic patch for this is as follows:

@@
identifier ret;
@@

-int ret = 0;
 ... when != ret
     when strict
-return ret;
+return 0;

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c