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:
2d00485
)
Staging: comedi: drivers: Compressed two lines of code into one.
author
Heena Sirwani
<heenasirwani@gmail.com>
Mon, 6 Oct 2014 06:29:29 +0000
(11:59 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:13 +0000
(10:29 +0800)
The following patch compresses two lines of code into one using
coccinelle and removes an unused variable.
The following semantic patch was used:
@@
expression ret;
identifier f;
@@
-ret =
+return
f(...);
-return ret;
Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found