summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arm64/boot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/arm64/boot.c b/src/arch/arm64/boot.c
index d17a20d628..7fbc525a18 100644
--- a/src/arch/arm64/boot.c
+++ b/src/arch/arm64/boot.c
@@ -38,7 +38,6 @@ static void run_payload(struct prog *prog)
void arch_prog_run(struct prog *prog)
{
void (*doit)(void *);
- void *arg;
if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) {
run_payload(prog);
@@ -46,7 +45,6 @@ void arch_prog_run(struct prog *prog)
}
doit = prog_entry(prog);
- arg = prog_entry_arg(prog);
doit(prog_entry_arg(prog));
}