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:
e588f1b
)
Staging: lustre: lustre: osc: Remove variable that is not very useful.
author
Heena Sirwani
<heenasirwani@gmail.com>
Tue, 7 Oct 2014 11:57:54 +0000
(17:27 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:10 +0000
(10:29 +0800)
The following patch removes a variable that is not very useful using
coccinelle.
The semantic patch used was:
@@
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>
No differences found