Commit 8e931ef1 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Stephen Boyd

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/556770c7701868f9f1c0569674903bee3eff30cb.1713015940.git.christophe.jaillet@wanadoo.frSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 5677925e
...@@ -67,12 +67,10 @@ struct gemini_gate_data { ...@@ -67,12 +67,10 @@ struct gemini_gate_data {
* struct clk_gemini_pci - Gemini PCI clock * struct clk_gemini_pci - Gemini PCI clock
* @hw: corresponding clock hardware entry * @hw: corresponding clock hardware entry
* @map: regmap to access the registers * @map: regmap to access the registers
* @rate: current rate
*/ */
struct clk_gemini_pci { struct clk_gemini_pci {
struct clk_hw hw; struct clk_hw hw;
struct regmap *map; struct regmap *map;
unsigned long rate;
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment