diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-24 16:48:29 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2024-05-04 12:38:02 +0200 |
commit | 947b8f2a8b5155f6e9560af07ed65b3cc9aecd75 (patch) | |
tree | 3d6cc73992b32c32c22510cfb0366e8eb0cdc41e /drivers/clk | |
parent | clk: rockchip: rk3588: Add reset line for HDMI Receiver (diff) | |
download | linux-947b8f2a8b5155f6e9560af07ed65b3cc9aecd75.tar.xz linux-947b8f2a8b5155f6e9560af07ed65b3cc9aecd75.zip |
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/rockchip/clk-mmc-phase.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/rockchip/clk-mmc-phase.c b/drivers/clk/rockchip/clk-mmc-phase.c index 975454a3dd72..91012078681b 100644 --- a/drivers/clk/rockchip/clk-mmc-phase.c +++ b/drivers/clk/rockchip/clk-mmc-phase.c @@ -14,7 +14,6 @@ struct rockchip_mmc_clock { struct clk_hw hw; void __iomem *reg; - int id; int shift; int cached_phase; struct notifier_block clk_rate_change_nb; |