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:
50d0a21
)
Staging: dgap: Remove unnecessary variable.
author
Ankita Patil
<patil.ankita.r@gmail.com>
Thu, 18 Sep 2014 07:01:00 +0000
(12:31 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:53:57 +0000
(16:53 -0700)
This patch removes unnecessary variable in file dgap.c
using Coccinelle. Semantic patch for this is as follows:
@@
expression ret;
identifier f;
@@
-ret =
+return
f(...);
-return ret;
Also removed the unneeded variable manually.
Signed-off-by: Ankita Patil <patil.ankita.r@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found