]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit176453b4e5b7c4efb6548b45c407e3c58496ff05
tree46e1e17e5d0069aa2526585c9bdfed291e3454f1
parentf4bf64dee6e02aecd156fc8c684743d37216b62d
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