diff mbox series

[v4,1/7] clk: st: clkgen-pll: remove unused variable of struct clkgen_pll

Message ID 20210331201632.24530-2-avolmat@me.com (mailing list archive)
State New, archived
Headers show
Series clk: st: embed clock outputs within drivers | expand

Commit Message

Alain Volmat March 31, 2021, 8:16 p.m. UTC
ODF field within the struct clkgen_pll is never used by the driver
and can thus be removed.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
v3: s/used/unused within the subject

 drivers/clk/st/clkgen-pll.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stephen Boyd June 28, 2021, 2:54 a.m. UTC | #1
Quoting Alain Volmat (2021-03-31 13:16:26)
> ODF field within the struct clkgen_pll is never used by the driver
> and can thus be removed.
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/st/clkgen-pll.c b/drivers/clk/st/clkgen-pll.c
index 119c5b33080c..f6c56ca90c7d 100644
--- a/drivers/clk/st/clkgen-pll.c
+++ b/drivers/clk/st/clkgen-pll.c
@@ -146,7 +146,6 @@  struct clkgen_pll {
 
 	u32 ndiv;
 	u32 idf;
-	u32 odf;
 	u32 cp;
 };