diff --git a/lib_m68k/board.c b/lib_m68k/board.c
index 584d1fff32f8e0efcdab66a8d1a0d70bcaae66b3..7d4ffc779c4c094b46a1f403a94bfad56d0c5778 100644
--- a/lib_m68k/board.c
+++ b/lib_m68k/board.c
@@ -438,9 +438,8 @@ board_init_f (ulong bootflag)
 void board_init_r (gd_t *id, ulong dest_addr)
 {
 	cmd_tbl_t *cmdtp;
-	char *s, *e;
+	char *s;
 	bd_t *bd;
-	int i;
 	extern void malloc_bin_reloc (void);
 
 #ifndef CONFIG_ENV_IS_NOWHERE