summaryrefslogtreecommitdiff
path: root/src/arch/arm64/boot.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-20 07:46:18 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-21 09:30:00 +0000
commita172228b7a66454a34b331fff10d6d0bb03ab634 (patch)
treeb7b7d15e6266aaed8351726668e1ba9321596bea /src/arch/arm64/boot.c
parentb7f27abb3bc4ef83e4250c9ac3480ca5fd7ec7cb (diff)
downloadcoreboot-a172228b7a66454a34b331fff10d6d0bb03ab634.tar.xz
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>
Diffstat (limited to 'src/arch/arm64/boot.c')
-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));
}