clk: highbank: Remove an unused field in struct hb_clk
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 13 Apr 2024 13:54:35 +0000 (15:54 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 20 Apr 2024 01:57:30 +0000 (18:57 -0700)
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>
drivers/clk/clk-highbank.c

index 2a0cea2946f98effa2065f73fcc48c921a7b7470..6e68a41a70a1b7160359c98138de76fb30535e68 100644 (file)
@@ -37,7 +37,6 @@
 struct hb_clk {
         struct clk_hw  hw;
        void __iomem    *reg;
-       char *parent_name;
 };
 #define to_hb_clk(p) container_of(p, struct hb_clk, hw)