diff options
| author | Gustavo A. R. Silva <silvagustavosilva@gmail.com> | 2017-01-04 21:14:36 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-05 18:42:15 +0100 |
| commit | 4ee5a460a34fe0ddf9738aedea991b329e3da189 (patch) | |
| tree | 8148b839821f6579ef20a7d676d2f5cfcab91dbf /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | e1d71498327165ef5b975ddf3dc209205c6173c6 (diff) | |
| download | kernel-4ee5a460a34fe0ddf9738aedea991b329e3da189.tar.gz | |
Staging: lustre: lustre: lmv: Compress return logic into one line.
Simplify return logic to avoid unnecessary variable assignments.
These issues were detected using Coccinelle and the following semantic patch:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
