diff options
author | Mahati Chamarthy <mahati.chamarthy@gmail.com> | 2014-09-21 20:54:52 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 13:40:17 -0700 |
commit | eab4e78d0828e22dda46076250d0f260803488d2 (patch) | |
tree | 2917b623cd35e6a2fa00ea5de796fede5dc49422 /scripts/decode_stacktrace.sh | |
parent | 88c9cc0092788ad37bc6ea7fe669358d0fbcb095 (diff) |
Staging: vt6656: Merges two lines of code and also removes unused variable
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;
A variable that became unused due to this transformation was also removed.
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions