summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-highbank.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-04-13 16:54:35 +0300
committerStephen Boyd <sboyd@kernel.org>2024-04-20 04:57:30 +0300
commit5677925ed74759be0c46bb7b6a9cfc5ebf957523 (patch)
tree4e3ec022eea3cca3812dcd47723b815ef3d9b630 /drivers/clk/clk-highbank.c
parent4acfeecd0062821fe66a520635adf65c6db759c3 (diff)
downloadlinux-5677925ed74759be0c46bb7b6a9cfc5ebf957523.tar.xz
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>
Diffstat (limited to 'drivers/clk/clk-highbank.c')
-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)