diff options
author | 2017-09-05 16:03:48 +0100 | |
---|---|---|
committer | 2017-11-13 17:44:15 -0800 | |
commit | 9416a5f8842a37dc356b7855867d20db6dfa9e3a (patch) | |
tree | ef0f903cf3f9aaecb6c470e3110a1edc6ba61506 /net/lapb/lapb_timer.c | |
parent | clk: versatile: Improve sizeof() usage (diff) | |
download | linux-dev-9416a5f8842a37dc356b7855867d20db6dfa9e3a.tar.xz linux-dev-9416a5f8842a37dc356b7855867d20db6dfa9e3a.zip |
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 <colin.king@canonical.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions