diff options
author | Rajbinder Brar <brar.rajbinder@gmail.com> | 2014-09-23 10:16:17 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 13:42:54 -0700 |
commit | 3b9999ec18c569d485bdaee86224214eeef1d2b0 (patch) | |
tree | 248e4ee5c585faf877d83b79a04e0cb02033d7f9 /drivers/staging/ste_rmi4 | |
parent | 3e46587ef1582ad4da40bf631dba0c6c8c8a7a47 (diff) | |
download | linux-3b9999ec18c569d485bdaee86224214eeef1d2b0.tar.bz2 |
Staging: vt6656: Merge two lines of code into one
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: Rajbinder Brar <brar.rajbinder@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ste_rmi4')
0 files changed, 0 insertions, 0 deletions