From 92911a2107786cb30275ca0f461d95a1ca39903b Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 28 Sep 2017 15:12:02 +0900 Subject: [PATCH] arm: bootm: remove the unused variables Remove the unused variables for fixing compiler warning. Change-Id: I59fc03e1ffb27b1e1c005ccb0b06c4b81d80b21c Signed-off-by: Jaehoon Chung --- arch/arm/lib/bootm.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index c1b6e24..a9e8ded 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -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); -- 2.7.4