Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: highbank: Remove an unused field in struct hb_clk

In "struct hb_clk", the 'parent_name' field is unused.

Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/90b19f2af3077075d4254e01d5ae919c423d067e.1713016457.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Christophe JAILLET and committed by
Stephen Boyd
5677925e 4acfeecd

-1
-1
drivers/clk/clk-highbank.c
··· 37 37 struct hb_clk { 38 38 struct clk_hw hw; 39 39 void __iomem *reg; 40 - char *parent_name; 41 40 }; 42 41 #define to_hb_clk(p) container_of(p, struct hb_clk, hw) 43 42