The branch main has been updated by jhb:

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

commit 9c861e931cbcc0610f61bafe0a54bb41c972271e
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-04-12 21:58:58 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-04-12 21:58:58 +0000

    cuda: Remove unused variables.
---
 sys/powerpc/powermac/cuda.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys/powerpc/powermac/cuda.c b/sys/powerpc/powermac/cuda.c
index ede3ee7eccf1..3c17448187e7 100644
--- a/sys/powerpc/powermac/cuda.c
+++ b/sys/powerpc/powermac/cuda.c
@@ -522,8 +522,7 @@ cuda_intr(void *arg)
 {
        device_t        dev;
        struct cuda_softc *sc;
-
-       int i, ending, restart_send, process_inbound;
+       int ending, process_inbound;
        uint8_t reg;
 
         dev = (device_t)arg;
@@ -531,7 +530,6 @@ cuda_intr(void *arg)
 
        mtx_lock(&sc->sc_mutex);
 
-       restart_send = 0;
        process_inbound = 0;
        reg = cuda_read_reg(sc, vIFR);
        if ((reg & vSR_INT) != vSR_INT) {
@@ -658,7 +656,7 @@ switch_start:
                break;
 
        case CUDA_OUT:
-               i = cuda_read_reg(sc, vSR);     /* reset SR-intr in IFR */
+               cuda_read_reg(sc, vSR); /* reset SR-intr in IFR */
 
                sc->sc_sent++;
                if (cuda_intr_state(sc)) {      /* ADB intr low during write */

Reply via email to