diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-12-28 13:23:10 +0300 |
|---|---|---|
| committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-02-02 22:53:17 +0300 |
| commit | e8f0e68ec0802dc840e29e0fabdcfdc39aa2a8fb (patch) | |
| tree | 642e0e96e88080f6121fe4f26a68d3f4b411a15a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 470b5e2f97cf8fb6a8375cc59e86314c9dd354c2 (diff) | |
| download | linux-e8f0e68ec0802dc840e29e0fabdcfdc39aa2a8fb.tar.xz | |
clk: slightly optimize clk_core_set_parent()
If clk_fetch_parent_index() fails, p_rate is unused. Move the
assignment after the error checking.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
