aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/arm64/mp_machdep.c
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-07-25 16:18:20 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-07-25 16:18:20 +0000
commit1af4207389bc6253a8fea7ffa82eb126653e5caa (patch)
treef0b37158f9a6f84d0e60a14f5cdda64f452e4dfe /sys/arm64/arm64/mp_machdep.c
parent0f0b7aa2898c593d835e8610d1d6101dfd7a9126 (diff)
downloadsrc-1af4207389bc6253a8fea7ffa82eb126653e5caa.tar.gz
src-1af4207389bc6253a8fea7ffa82eb126653e5caa.zip
Remove an unused variable.
Obtained from: ABT Systems Ltd MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=303309
Diffstat (limited to 'sys/arm64/arm64/mp_machdep.c')
-rw-r--r--sys/arm64/arm64/mp_machdep.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/arm64/arm64/mp_machdep.c b/sys/arm64/arm64/mp_machdep.c
index bd43be7b6aa3..b8e0394d2611 100644
--- a/sys/arm64/arm64/mp_machdep.c
+++ b/sys/arm64/arm64/mp_machdep.c
@@ -112,9 +112,6 @@ static int ipi_handler(void *arg);
struct mtx ap_boot_mtx;
struct pcb stoppcbs[MAXCPU];
-#ifdef INVARIANTS
-static uint32_t cpu_reg[MAXCPU][2];
-#endif
static device_t cpu_list[MAXCPU];
/*
@@ -443,13 +440,6 @@ cpu_init_fdt(u_int id, phandle_t node, u_int addr_size, pcell_t *reg)
KASSERT(id < MAXCPU, ("Too many CPUs"));
- KASSERT(addr_size == 1 || addr_size == 2, ("Invalid register size"));
-#ifdef INVARIANTS
- cpu_reg[id][0] = reg[0];
- if (addr_size == 2)
- cpu_reg[id][1] = reg[1];
-#endif
-
/* We are already running on cpu 0 */
if (id == cpu0)
return (1);