Staging: rtl8188eu: core: Remove variable that is not very useful.
authorHeena Sirwani <heenasirwani@gmail.com>
Mon, 6 Oct 2014 13:09:47 +0000 (18:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:12 +0000 (10:29 +0800)
commit9cc56fa82765203cf32429dbb47f4f2c73f138aa
tree46e1e17e5d0069aa2526585c9bdfed291e3454f1
parent0b7d9bc2a44908363dfaf119b2538e839aab45c0
Staging: rtl8188eu: core: Remove variable that is not very useful.

The following patch removes a variable which is not very useful using
coccinelle.
The following semaintic patch was used:
@@
identifier ret;
@@

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

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ap.c