diff options
| author | Masahiro Yamada <[email protected]> | 2015-12-28 19:23:10 +0900 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2016-02-02 11:53:17 -0800 |
| commit | e8f0e68ec0802dc840e29e0fabdcfdc39aa2a8fb (patch) | |
| tree | 642e0e96e88080f6121fe4f26a68d3f4b411a15a /tools/perf/scripts/python | |
| parent | 470b5e2f97cf8fb6a8375cc59e86314c9dd354c2 (diff) | |
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 <[email protected]>
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions