clk: qcom: rpm: Remove an unused field in struct rpm_cc
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 13 Apr 2024 14:04:04 +0000 (16:04 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 20 Apr 2024 17:56:58 +0000 (12:56 -0500)
In "struct rpm_cc", the 'rpm' field is unused.

Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/9f92330c717e6f2dab27b1307565ffb108c304a7.1713017032.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-rpm.c

index 745026ef4d9cf53a9e81f1aa300913059cea5455..9da034f8f2ff504404abc4f7a0d3b8fb841a6ce0 100644 (file)
@@ -98,7 +98,6 @@ struct clk_rpm {
 };
 
 struct rpm_cc {
-       struct qcom_rpm *rpm;
        struct clk_rpm **clks;
        size_t num_clks;
        u32 xo_buffer_value;