diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-01-05 06:43:41 +0300 |
|---|---|---|
| committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-01-30 03:45:32 +0300 |
| commit | 653d1452b452207999b67ab943c27cd80b7bd430 (patch) | |
| tree | 1efc23d06e71a13f461596fc4c2aa02073caa894 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 090341b0a95d1f6d762915a75c13b393366f4ab3 (diff) | |
| download | linux-653d1452b452207999b67ab943c27cd80b7bd430.tar.xz | |
clk: optimize the divider walk in clk_divider_bestdiv()
Because _next_div() returns a valid divider, there is no need to
consult _is_valid_div() for the validity of the divider in every
iteration.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
