src/arch/arm64: Remove variable set but not used
Change-Id: I4fe5771dd1ebf3d2a981dab08e98f1c018d14133 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32888 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
b7f27abb3b
commit
a172228b7a
|
@ -38,7 +38,6 @@ static void run_payload(struct prog *prog)
|
||||||
void arch_prog_run(struct prog *prog)
|
void arch_prog_run(struct prog *prog)
|
||||||
{
|
{
|
||||||
void (*doit)(void *);
|
void (*doit)(void *);
|
||||||
void *arg;
|
|
||||||
|
|
||||||
if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) {
|
if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) {
|
||||||
run_payload(prog);
|
run_payload(prog);
|
||||||
|
@ -46,7 +45,6 @@ void arch_prog_run(struct prog *prog)
|
||||||
}
|
}
|
||||||
|
|
||||||
doit = prog_entry(prog);
|
doit = prog_entry(prog);
|
||||||
arg = prog_entry_arg(prog);
|
|
||||||
|
|
||||||
doit(prog_entry_arg(prog));
|
doit(prog_entry_arg(prog));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue