staging: rtl8192u: remove unecessary variable
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Mon, 22 Sep 2014 16:52:36 +0000 (22:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 03:32:43 +0000 (20:32 -0700)
commitbfcc6be5bcf3f17a98765df5aa69d59ccf87a1bd
tree981de34f734f398845f49cab148d3808c39ace36
parenta579c97823d36613375d636c7b684133d8f79855
staging: rtl8192u: remove unecessary variable

This patch removes unncessary variable in file r8192U_core.c
using Coccinelle. Semantic patch for this is as follows :
@@
identifier ret;
@@

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

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c