diff options
| author | 2015-05-31 20:19:40 +0200 | |
|---|---|---|
| committer | 2015-06-01 06:33:21 +0900 | |
| commit | 35e33b0468ab3b3f5b610bfa4fc9367a3b7c09a8 (patch) | |
| tree | 9384d98b884c86dc7649ccdf0fbad9fbb963a07e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | staging: rtl8192e: Fix PREFER_PR_LEVEL warnings (diff) | |
staging: rtl8192e: Fix LONG_LINE warnings
Fix most of simple LONG_LINE warnings. None of the changes should affect
behaviour of code, so several modifications are included in this patch:
- Code is reindented where needed
- Local variable names are compacted (priv -> p)
- Unnecessary casts are removed
- Nested ifs are replaced with logical and
- a = b = c = d expressions are split
- Replace if/then series with clamp_t()
- Removed unneeded scopes
Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
