OSDN Git Service

clk: remove unnecessary !core->parents conditional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 28 Dec 2015 10:22:58 +0000 (19:22 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 2 Feb 2016 01:01:39 +0000 (17:01 -0800)
commit027f942ce44131bc3a11aaae6dbb227f461845b6
tree9d24aed5fea817a4d90a66edcc7e35ca53383f99
parentbe45ebf25fc8866675f4822c74c9d0eb3dd96103
clk: remove unnecessary !core->parents conditional

This if-block has been here since the introduction of the common
clock framework.  Now no clock drivers are statically initialized.
core->parent is always NULL at this point.  Drop the redundant
check and the confusing comment.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c