bcm2835_systimer: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-13 16:08:22 -07:00
parent 8758ac757f
commit e4746e3fe4

View File

@ -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;