diff options
| author | Tobias Nießen <tobias.niessen@stud.uni-hannover.de> | 2019-06-26 16:28:56 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-01 09:05:21 +0200 |
| commit | 34a49d9edf3af971867e3876de7dc9935d467f67 (patch) | |
| tree | 54b2064cb0680a88580455a1b827fe422834338d /tools/perf/scripts/python/bin | |
| parent | staging: wilc1000: rename 'host_interface' source and header (diff) | |
| download | linux-34a49d9edf3af971867e3876de7dc9935d467f67.tar.gz linux-34a49d9edf3af971867e3876de7dc9935d467f67.zip | |
staging: rts5208: Rewrite redundant if statement to improve code style
This commit uses the fact that
if (a) {
if (b) {
...
}
}
can instead be written as
if (a && b) {
...
}
without any change in behavior, allowing to decrease the indentation
of the contained code block and thus reducing the average line length.
Signed-off-by: Tobias Nießen <tobias.niessen@stud.uni-hannover.de>
Signed-off-by: Sabrina Gaube <sabrina-gaube@web.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
