
From: Simon Glass <sjg@chromium.org> This variable is tricky to set up and is only used to show an address. Drop it and use the source variable instead. Signed-off-by: Simon Glass <sjg@chromium.org> --- arch/arm/lib/bootm.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index d17f992ecb9..014f360d402 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -260,15 +260,10 @@ static void switch_to_el1(void) static void boot_jump_linux(struct bootm_headers *images, int flag) { #ifdef CONFIG_ARM64 - void (*kernel_entry)(void *fdt_addr, void *res0, void *res1, - void *res2); int fake = (flag & BOOTM_STATE_OS_FAKE_GO); - kernel_entry = (void (*)(void *fdt_addr, void *res0, void *res1, - void *res2))images->ep; - debug("## Transferring control to Linux (at address %lx)...\n", - (ulong) kernel_entry); + (ulong)images->ep); bootstage_mark(BOOTSTAGE_ID_RUN_OS); bootm_final(fake ? BOOTM_FINAL_FAKE : 0); -- 2.43.0