git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a579c97
)
staging: rtl8192u: remove unecessary variable
author
Tapasweni Pathak
<tapaswenipathak@gmail.com>
Mon, 22 Sep 2014 16:52:36 +0000
(22:22 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 03:32:43 +0000
(20:32 -0700)
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>
No differences found