Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: rpm: Remove an unused field in struct rpm_cc

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>

authored by

Christophe JAILLET and committed by
Bjorn Andersson
3cb55215 810e6d2f

-1
-1
drivers/clk/qcom/clk-rpm.c
··· 98 98 }; 99 99 100 100 struct rpm_cc { 101 - struct qcom_rpm *rpm; 102 101 struct clk_rpm **clks; 103 102 size_t num_clks; 104 103 u32 xo_buffer_value;