Skip to content

Commit 8e931ef

Browse files
tititiou36bebarino
authored andcommitted
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>
1 parent 5677925 commit 8e931ef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/clk/clk-gemini.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,10 @@ struct gemini_gate_data {
6767
* struct clk_gemini_pci - Gemini PCI clock
6868
* @hw: corresponding clock hardware entry
6969
* @map: regmap to access the registers
70-
* @rate: current rate
7170
*/
7271
struct clk_gemini_pci {
7372
struct clk_hw hw;
7473
struct regmap *map;
75-
unsigned long rate;
7674
};
7775

7876
/**

0 commit comments

Comments
 (0)