diff options
| author | Elise Lennion <elise.lennion@gmail.com> | 2016-10-17 05:17:20 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-17 11:27:55 +0300 |
| commit | dcb9360e66289d6336f8dbd483babf39ac8e73a5 (patch) | |
| tree | b190b6b46e8e512e5948b27de64da8620589d0eb /scripts | |
| parent | ce439c425b4e3f93e366939837127fcfd7d013e2 (diff) | |
| download | linux-dcb9360e66289d6336f8dbd483babf39ac8e73a5.tar.xz | |
staging: xgifb: Compress return logic into one line.
Simplify return logic to avoid unnecessary variable assignments.
Coccinelle was used with this semantic patch:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
