diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-13 16:46:09 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-04-20 04:58:36 +0300 |
commit | 8e931ef1bdc5d60c530d182eeccad8b7e1ad6ed1 (patch) | |
tree | 5300f2c8723ccf9ac868df70e7a3c26effc2abd3 /drivers/clk/clk-gemini.c | |
parent | 5677925ed74759be0c46bb7b6a9cfc5ebf957523 (diff) | |
download | linux-8e931ef1bdc5d60c530d182eeccad8b7e1ad6ed1.tar.xz |
clk: gemini: Remove an unused field in struct clk_gemini_pci
In "struct clk_gemini_pci", the 'rate' field is unused.
Remove it.
Found with cppcheck, unusedStructMember.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/556770c7701868f9f1c0569674903bee3eff30cb.1713015940.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-gemini.c')
-rw-r--r-- | drivers/clk/clk-gemini.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/clk-gemini.c b/drivers/clk/clk-gemini.c index ba0ff01bf4dc..856b008e07c6 100644 --- a/drivers/clk/clk-gemini.c +++ b/drivers/clk/clk-gemini.c @@ -67,12 +67,10 @@ struct gemini_gate_data { * struct clk_gemini_pci - Gemini PCI clock * @hw: corresponding clock hardware entry * @map: regmap to access the registers - * @rate: current rate */ struct clk_gemini_pci { struct clk_hw hw; struct regmap *map; - unsigned long rate; }; /** |