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:
4309635
)
Staging: rtl8192e: rtl8192e: Remove unnecessory variable
author
Vaishali Thakkar
<vthakkar1994@gmail.com>
Wed, 17 Sep 2014 02:32:43 +0000
(08:02 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:11:06 +0000
(17:11 -0700)
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>
No differences found