git: 09f2892eee7f - main - arm vybrid: #if 0 variables only used under #if 0.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Apr 2022 23:09:56 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=09f2892eee7f05aa7c9e4743d295d8eb72298cbd commit 09f2892eee7f05aa7c9e4743d295d8eb72298cbd 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 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