diff options
author | 2023-03-16 15:58:26 +0800 | |
---|---|---|
committer | 2023-03-16 16:40:33 -0700 | |
commit | 5b1a1c1ab1f981b15bce778db863344f59bd1501 (patch) | |
tree | 9556d1255f149306684e925ad1edbae91c341ef8 | |
parent | clk: at91: clk-sam9x60-pll: fix return value check (diff) | |
download | wireguard-linux-5b1a1c1ab1f981b15bce778db863344f59bd1501.tar.xz wireguard-linux-5b1a1c1ab1f981b15bce778db863344f59bd1501.zip |
clk: remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast.
Signed-off-by: Yu Zhe <yuzhe@nfschina.com>
Link: https://lore.kernel.org/r/20230316075826.22754-1-yuzhe@nfschina.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/clk/clk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index ae07685c7588..9410a4e1b04b 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -3194,7 +3194,7 @@ static void clk_summary_show_subtree(struct seq_file *s, struct clk_core *c, static int clk_summary_show(struct seq_file *s, void *data) { struct clk_core *c; - struct hlist_head **lists = (struct hlist_head **)s->private; + struct hlist_head **lists = s->private; seq_puts(s, " enable prepare protect duty hardware\n"); seq_puts(s, " clock count count count rate accuracy phase cycle enable\n"); @@ -3253,7 +3253,7 @@ static int clk_dump_show(struct seq_file *s, void *data) { struct clk_core *c; bool first_node = true; - struct hlist_head **lists = (struct hlist_head **)s->private; + struct hlist_head **lists = s->private; seq_putc(s, '{'); clk_prepare_lock(); |