[U-Boot] [PATCH] avr32/bootm: remove unused variable 'ret'

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Thu Nov 13 09:08:06 CET 2008


Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

Acked-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>

I'm a bit out of sync at the moment. Wolfgang, can you apply it
directly?

> diff --git a/lib_avr32/bootm.c b/lib_avr32/bootm.c
> index 556e3ea..03ab8d1 100644
> --- a/lib_avr32/bootm.c
> +++ b/lib_avr32/bootm.c
> @@ -176,7 +176,6 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t *images)
>  	void	(*theKernel)(int magic, void *tagtable);
>  	struct	tag *params, *params_start;
>  	char	*commandline = getenv("bootargs");
> -	int	ret;
>  
>  	if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
>  		return 1;


More information about the U-Boot mailing list