projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5677925
)
clk: gemini: Remove an unused field in struct clk_gemini_pci
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sat, 13 Apr 2024 13:46:09 +0000
(15:46 +0200)
committer
Stephen Boyd
<sboyd@kernel.org>
Sat, 20 Apr 2024 01:58:36 +0000
(18:58 -0700)
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>
drivers/clk/clk-gemini.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-gemini.c
b/drivers/clk/clk-gemini.c
index ba0ff01bf4dc4efa4baeaac3643d31dca396af35..856b008e07c6b7e967b01c4ef43af838f7f18fe2 100644
(file)
--- 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;
};
/**