The branch main has been updated by jhb:

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

commit e4746e3fe4b22c27efffaafd7b3832c7105f5c26
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-04-13 23:08:22 +0000
Commit:     John Baldwin <[email protected]>
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;
 

Reply via email to