The branch main has been updated by jhb:

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

commit 09f2892eee7f05aa7c9e4743d295d8eb72298cbd
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

    arm vybrid: #if 0 variables only used under #if 0.
---
 sys/arm/freescale/vybrid/vf_edma.c | 4 +++-
 sys/arm/freescale/vybrid/vf_sai.c  | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys/arm/freescale/vybrid/vf_edma.c 
b/sys/arm/freescale/vybrid/vf_edma.c
index 23ce8cfd2c8d..801a1e1dfb76 100644
--- a/sys/arm/freescale/vybrid/vf_edma.c
+++ b/sys/arm/freescale/vybrid/vf_edma.c
@@ -119,11 +119,13 @@ static void
 edma_err_intr(void *arg)
 {
        struct edma_softc *sc;
+#if 0
        int reg;
+#endif
 
        sc = arg;
 
-       reg = READ4(sc, DMA_ERR);
+       /* reg = */ READ4(sc, DMA_ERR);
 
 #if 0
        device_printf(sc->dev, "DMA_ERR 0x%08x, ES 0x%08x\n",
diff --git a/sys/arm/freescale/vybrid/vf_sai.c 
b/sys/arm/freescale/vybrid/vf_sai.c
index 26ba34df5009..87d648da05fd 100644
--- a/sys/arm/freescale/vybrid/vf_sai.c
+++ b/sys/arm/freescale/vybrid/vf_sai.c
@@ -222,11 +222,11 @@ static int
 saimixer_set(struct snd_mixer *m, unsigned dev,
     unsigned left, unsigned right)
 {
+#if 0
        struct sc_pcminfo *scp;
 
        scp = mix_getdevinfo(m);
 
-#if 0
        device_printf(scp->dev, "saimixer_set() %d %d\n",
            left, right);
 #endif

Reply via email to