]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2aee27a3dbe888301c6fc8128516ef5d061e6577
tree51f9dc10b1f6f30793c8ea65b412cfb60645c23b
parent2cfa7af12f1ba7e02d0f715fb9acea5044a591cf
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