aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-13 23:08:22 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-04-13 23:08:22 +0000
commite4746e3fe4b22c27efffaafd7b3832c7105f5c26 (patch)
tree9d97e1f89fe38feafb3130b70e8563c9cae18d55 /sys/arm
parent8758ac757fe69e5504e7dc952341955791c10cf7 (diff)
downloadsrc-e4746e3fe4b22c27efffaafd7b3832c7105f5c26.tar.gz
src-e4746e3fe4b22c27efffaafd7b3832c7105f5c26.zip
bcm2835_systimer: Remove unused variable.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_systimer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_systimer.c b/sys/arm/broadcom/bcm2835/bcm2835_systimer.c
index c5c3435b6ef7..7c8c1d996607 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_systimer.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_systimer.c
@@ -292,12 +292,9 @@ DRIVER_MODULE(bcm_systimer, simplebus, bcm_systimer_driver, bcm_systimer_devclas
static void
bcm_systimer_delay(int usec, void *arg)
{
- struct bcm_systimer_softc *sc;
int32_t counts;
uint32_t first, last;
- sc = (struct bcm_systimer_softc *) arg;
-
/* Get the number of times to count */
counts = usec * (bcm_systimer_tc.tc_frequency / 1000000) + 1;