aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-04-13 15:54:35 +0200
committerStephen Boyd <[email protected]>2024-04-19 18:57:30 -0700
commit5677925ed74759be0c46bb7b6a9cfc5ebf957523 (patch)
tree4e3ec022eea3cca3812dcd47723b815ef3d9b630
parent4acfeecd0062821fe66a520635adf65c6db759c3 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/90b19f2af3077075d4254e01d5ae919c423d067e.1713016457.git.christophe.jaillet@wanadoo.fr Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r--drivers/clk/clk-highbank.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/clk-highbank.c b/drivers/clk/clk-highbank.c
index 2a0cea2946f9..6e68a41a70a1 100644
--- a/drivers/clk/clk-highbank.c
+++ b/drivers/clk/clk-highbank.c
@@ -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)