mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
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>
This commit is contained in:
parent
5677925ed7
commit
8e931ef1bd
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user