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:
92db2a2
)
Staging: vme: devices: Merges two lines of code and removes unused variable
author
Mahati Chamarthy
<mahati.chamarthy@gmail.com>
Mon, 22 Sep 2014 17:34:13 +0000
(23:04 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 03:25:29 +0000
(20:25 -0700)
This patch merges an assignment with an immediately following return of
the assigned variable. The following Coccinelle semantic patch was used
to make this transformation:
@@
expression ret;
identifier f;
@@
-ret =
+return
f(...);
-return ret;
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found