aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-19 15:50:40 +0300
committerWolfram Sang <wsa@kernel.org>2020-05-22 16:50:30 +0200
commit462cfcb4aa1c92239cb16177fd3ceb65326955ff (patch)
tree9b9a9a95d618b28a9ba5d034c3b30caa31873771 /tools/perf/scripts/python/export-to-postgresql.py
parenti2c: designware: Move i2c_dw_validate_speed() helper to a common code (diff)
downloadlinux-dev-462cfcb4aa1c92239cb16177fd3ceb65326955ff.tar.xz
linux-dev-462cfcb4aa1c92239cb16177fd3ceb65326955ff.zip
i2c: designware: Drop unneeded condition in i2c_dw_validate_speed()
We may bailout directly from the loop instead of breaking it and testing a loop counter. This also gives advantages such as decreased indentation level along with dropped unneeded condition. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions