git: e4746e3fe4b2 - main - bcm2835_systimer: Remove unused variable.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 13 Apr 2022 23:09:46 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=e4746e3fe4b22c27efffaafd7b3832c7105f5c26

commit e4746e3fe4b22c27efffaafd7b3832c7105f5c26
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-13 23:08:22 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-13 23:08:22 +0000

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