]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm, bootm: Fix compile warning
authorHeiko Schocher <hs@denx.de>
Mon, 25 Oct 2010 06:33:38 +0000 (08:33 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 26 Oct 2010 19:15:35 +0000 (21:15 +0200)
Fix warning:

bootm.c: In function 'bootm_linux_fdt':
bootm.c:181: warning: unused variable 's'
bootm.c:180: warning: unused variable 'bd'

Signed-off-by: Heiko Schocher <hs@denx.de>
arch/arm/lib/bootm.c

index 2e7b2e1f33f27b472cbf30528301be67ff9733fb..a1649eef0d1a905cf4a4fe6db13da8588e62a63e 100644 (file)
@@ -177,8 +177,6 @@ static int fixup_memory_node(void *blob)
 static int bootm_linux_fdt(int machid, bootm_headers_t *images)
 {
        ulong rd_len;
-       bd_t *bd = gd->bd;
-       char *s;
        void (*kernel_entry)(int zero, int dt_machid, void *dtblob);
        ulong bootmap_base = getenv_bootm_low();
        ulong of_size = images->ft_len;