[U-Boot] [PATCH v2 1/4] imx: mx7: discard unused global variable

Stefano Babic sbabic at denx.de
Thu Sep 24 11:33:42 CEST 2015


On 15/09/2015 08:05, Peng Fan wrote:
> Discard unused global variable.
> 
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
> 
> Changes V2:
>  none
> 
>  arch/arm/cpu/armv7/mx7/soc.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c
> index 8d50149..af16ba7 100644
> --- a/arch/arm/cpu/armv7/mx7/soc.c
> +++ b/arch/arm/cpu/armv7/mx7/soc.c
> @@ -15,8 +15,6 @@
>  #include <dm.h>
>  #include <imx_thermal.h>
>  
> -struct src *src_reg = (struct src *)SRC_BASE_ADDR;
> -
>  #if defined(CONFIG_IMX_THERMAL)
>  static const struct imx_thermal_plat imx7_thermal_plat = {
>  	.regs = (void *)ANATOP_BASE_ADDR,
> 

Whole series:

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list