clk: Drop !clk checks in debugfs dumping
authorStephen Boyd <sboyd@kernel.org>
Mon, 26 Aug 2019 23:47:29 +0000 (16:47 -0700)
committerStephen Boyd <sboyd@kernel.org>
Thu, 19 Sep 2019 22:26:36 +0000 (15:26 -0700)
commit7f4804665b58ced5d09848785d835af0f7a51b3e
tree51f9dc10b1f6f30793c8ea65b412cfb60645c23b
parent1ccc0ddf046a0197f2f9acca02a64da10aa6112d
clk: Drop !clk checks in debugfs dumping

These recursive functions have checks for !clk being passed in, but the
callers are always looping through lists and therefore the pointers
can't be NULL. Drop the checks to simplify the code.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190826234729.145593-1-sboyd@kernel.org
drivers/clk/clk.c