From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Wed, 06 May 2009 17:56:10 +0900 Subject: [U-Boot] [PATCH 2/2] MIPS: lib_mips/board.c: Remove unused variables In-Reply-To: <4A014EDB.8030205@ruby.dti.ne.jp> References: <4A014EDB.8030205@ruby.dti.ne.jp> Message-ID: <4A0150AA.50500@ruby.dti.ne.jp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This fixes the following build warnings: board.c: In function 'board_init_r': board.c:328: warning: unused variable 'i' board.c:326: warning: unused variable 'e' Signed-off-by: Shinya Kuribayashi --- lib_mips/board.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib_mips/board.c b/lib_mips/board.c index 6fc4845..061901e 100644 --- a/lib_mips/board.c +++ b/lib_mips/board.c @@ -323,9 +323,8 @@ void board_init_r (gd_t *id, ulong dest_addr) #ifndef CONFIG_ENV_IS_NOWHERE extern char * env_name_spec; #endif - char *s, *e; + char *s; bd_t *bd; - int i; gd = id; gd->flags |= GD_FLG_RELOC; /* tell others: relocation done */