clk: rockchip: Remove an unused field in struct rockchip_mmc_clock
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 24 Apr 2024 14:48:29 +0000 (16:48 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 4 May 2024 10:38:02 +0000 (12:38 +0200)
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>
drivers/clk/rockchip/clk-mmc-phase.c

index 975454a3dd72b3fd46681aba98061c7c42cc1952..91012078681bf1e01608220598f29d896fb7dff0 100644 (file)
@@ -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;