arm: bootm: remove the unused variables
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / lib / bootm.c
index c1b6e24..a9e8ded 100644 (file)
@@ -182,8 +182,6 @@ static int bootm_linux_fdt(int machid, bootm_headers_t *images)
 {
        ulong rd_len;
        void (*kernel_entry)(int zero, int dt_machid, void *dtblob);
-       ulong bootmap_base = getenv_bootm_low();
-       ulong of_size = images->ft_len;
        char **of_flat_tree = &images->ft_addr;
        ulong *initrd_start = &images->initrd_start;
        ulong *initrd_end = &images->initrd_end;
@@ -198,10 +196,6 @@ static int bootm_linux_fdt(int machid, bootm_headers_t *images)
        if (ret)
                return ret;
 
-       //ret = boot_relocate_fdt(lmb, bootmap_base, of_flat_tree, &of_size);
-       //if (ret)
-       //      return ret;
-
        debug("## Transferring control to Linux (at address %08lx) ...\n",
               (ulong) kernel_entry);