clk: __clk_core_init() never takes NULL
authorStephen Boyd <sboyd@kernel.org>
Wed, 8 Dec 2021 04:15:34 +0000 (20:15 -0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 10 Dec 2021 01:15:47 +0000 (17:15 -0800)
commit978fbc7a05993df9a2fd115e8fd78600c72e0dfe
tree41d51506bbbdebbbcc1e56ba4d9a476ce671807e
parent5c1c42c49b8a74ecd6de289ff13c033979501cce
clk: __clk_core_init() never takes NULL

The only caller of __clk_core_init() allocates the pointer and checks
the allocation for NULL so this check is impossible. Remove it.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20211208041534.3928718-2-sboyd@kernel.org
drivers/clk/clk.c