diff options
author | Andy Shevchenko <[email protected]> | 2020-05-19 15:50:40 +0300 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2020-05-22 16:50:30 +0200 |
commit | 462cfcb4aa1c92239cb16177fd3ceb65326955ff (patch) | |
tree | 9b9a9a95d618b28a9ba5d034c3b30caa31873771 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 20ee1d9020c9233129ba84094e7dd6fe4651cfad (diff) |
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 <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions