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;