From: Wolfgang Denk Date: Sun, 06 Jul 2008 00:32:02 +0200 Subject: [U-Boot-Users] [PATCH] Remove duplicate code introduced by commit 597f6c26a18b389903a64692bacbf9a1ca69355b In-Reply-To: Your message of "Thu, 29 May 2008 16:16:17 EDT." <1212092177-1067-1-git-send-email-hugo.villeneuve@lyrtech.com> Message-ID: <20080705223202.2D78624681@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1212092177-1067-1-git-send-email-hugo.villeneuve@lyrtech.com> you wrote: > Remove duplicate code introduced by commit > 597f6c26a18b389903a64692bacbf9a1ca69355b > > Signed-off-by: Hugo Villeneuve > > --- > > 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...