From: Peter Tyser Date: Mon, 07 Jul 2008 09:48:41 -0500 Subject: [U-Boot-Users] [PATCH] Remove duplicate code introduced by commit 597f6c26a18b389903a64692bacbf9a1ca69355b In-Reply-To: <20080705223202.2D78624681@gemini.denx.de> References: <20080705223202.2D78624681@gemini.denx.de> Message-ID: <1215442121.17602.225.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2008-07-06 at 00:32 +0200, Wolfgang Denk wrote: > 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? ?The same change was picked up in commit 35ef877f0a8f6232cdef748f442fed5accb2b641 "Additional fix to readline_into_buffer() with CONFIG_CMDLINE_EDITING before relocating", so this change should not be needed. Best, Peter