From e4746e3fe4b22c27efffaafd7b3832c7105f5c26 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 13 Apr 2022 16:08:22 -0700 Subject: [PATCH] bcm2835_systimer: Remove unused variable. --- sys/arm/broadcom/bcm2835/bcm2835_systimer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/arm/broadcom/bcm2835/bcm2835_systimer.c b/sys/arm/broadcom/bcm2835/bcm2835_systimer.c index c5c3435b6ef..7c8c1d99660 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;