Skip to content

Commit 947b8f2

Browse files
tititiou36mmind
authored andcommitted
clk: rockchip: Remove an unused field in struct rockchip_mmc_clock
In "struct rockchip_mmc_clock", the 'id' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/410bc0f86c7b9f1c80f8a4e9a2a028a9a6ee1ec0.1713970085.git.christophe.jaillet@wanadoo.fr Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 7af6701 commit 947b8f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/clk/rockchip/clk-mmc-phase.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
struct rockchip_mmc_clock {
1515
struct clk_hw hw;
1616
void __iomem *reg;
17-
int id;
1817
int shift;
1918
int cached_phase;
2019
struct notifier_block clk_rate_change_nb;

0 commit comments

Comments
 (0)