[U-Boot-Users] [PATCH] Remove duplicate code introduced by commit 597f6c26a18b389903a64692bacbf9a1ca69355b

Wolfgang Denk wd at denx.de
Sun Jul 6 00:32:02 CEST 2008


In message <1212092177-1067-1-git-send-email-hugo.villeneuve at lyrtech.com> you wrote:
> Remove duplicate code introduced by commit
> 597f6c26a18b389903a64692bacbf9a1ca69355b
> 
> Signed-off-by: Hugo Villeneuve <hugo.villeneuve at lyrtech.com>
> 
> ---
> 
>  common/main.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/common/main.c b/common/main.c
> index a17b60b..046da6f 100644
> --- a/common/main.c
> +++ b/common/main.c
> @@ -940,12 +940,6 @@ int readline_into_buffer (const char *const prompt, char * buffer)
>  	int rc;
>  	static int initted = 0;
>  
> -	if (!initted) {
> -		hist_init();
> -		initted = 1;
> -	}
> -
> -
>  	/*
>  	 * History uses a global array which is not
>  	 * writable until after relocation to RAM.

This doesnt apply to current code. Can you please check and rebase /
resubmit if this should be still needed?

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Little known fact about Middle Earth:   The Hobbits had a very sophi-
sticated computer network!   It was a Tolkien Ring...




More information about the U-Boot mailing list