summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTobias Nießen <tobias.niessen@stud.uni-hannover.de>2019-06-26 17:28:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-01 10:05:21 +0300
commit34a49d9edf3af971867e3876de7dc9935d467f67 (patch)
tree54b2064cb0680a88580455a1b827fe422834338d /tools/perf/scripts/python/exported-sql-viewer.py
parent7ff9f78ea683229264d813949ae21b24234267c6 (diff)
downloadlinux-34a49d9edf3af971867e3876de7dc9935d467f67.tar.xz
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions