Skip to content

Commit

Permalink
clk: rockchip: Remove an unused field in struct rockchip_mmc_clock
Browse files Browse the repository at this point in the history
In "struct rockchip_mmc_clock", the 'id' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/410bc0f86c7b9f1c80f8a4e9a2a028a9a6ee1ec0.1713970085.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Heiko Stuebner <[email protected]>
  • Loading branch information
tititiou36 authored and mmind committed May 4, 2024
1 parent 7af6701 commit 947b8f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/clk/rockchip/clk-mmc-phase.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 947b8f2

Please sign in to comment.