diff options
author | Colin Ian King <[email protected]> | 2017-09-05 16:03:48 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2017-11-13 17:44:15 -0800 |
commit | 9416a5f8842a37dc356b7855867d20db6dfa9e3a (patch) | |
tree | ef0f903cf3f9aaecb6c470e3110a1edc6ba61506 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | a72da43c92dc09488ac2944b103de037c435302a (diff) |
clk: cdce925: remove redundant check for non-null parent_name
The check for a non-null parent_name is always true as there is an
earlier check for a null parent_name that returns -ENODEV. Remove this
redundant check and always set init.num_parents to 1.
Detected by CoverityScan CID#1309477 ("Logically dead code")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions