diff mbox series

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

Message ID 20210330205125.25708-2-avolmat@me.com
State Superseded
Headers show
Series clk: st: embed clock outputs within drivers | expand

Commit Message

Alain Volmat March 30, 2021, 8:51 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>
---
v3: s/used/unused within the subject

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

Comments

Patrice CHOTARD March 31, 2021, 4:07 p.m. UTC | #1
Hi Alain

On 3/30/21 10:51 PM, Alain Volmat wrote:
> 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>

> ---

> v3: s/used/unused within the subject

> 

>  drivers/clk/st/clkgen-pll.c | 1 -

>  1 file changed, 1 deletion(-)

> 

> 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;

>  };

>  

> 


Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>


Thanks
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;
 };