git: d6ab3d1c20de - main - arm64: allwinner: aw_i2s: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 10:12:04 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=d6ab3d1c20de93727d6900ae13c1c547c978d716 commit d6ab3d1c20de93727d6900ae13c1c547c978d716 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-02-21 09:54:17 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-02-21 10:08:06 +0000 arm64: allwinner: aw_i2s: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG --- sys/arm/allwinner/aw_i2s.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arm/allwinner/aw_i2s.c b/sys/arm/allwinner/aw_i2s.c index 013e88a548a8..d7478a443d3d 100644 --- a/sys/arm/allwinner/aw_i2s.c +++ b/sys/arm/allwinner/aw_i2s.c @@ -423,7 +423,7 @@ static int aw_i2s_dai_init(device_t dev, uint32_t format) { struct aw_i2s_softc *sc; - int fmt, pol, clk; + int fmt, pol; uint32_t ctl, fat0, chsel; u_int offset; @@ -431,7 +431,6 @@ aw_i2s_dai_init(device_t dev, uint32_t format) fmt = AUDIO_DAI_FORMAT_FORMAT(format); pol = AUDIO_DAI_FORMAT_POLARITY(format); - clk = AUDIO_DAI_FORMAT_CLOCK(format); ctl = I2S_READ(sc, DA_CTL); fat0 = I2S_READ(sc, DA_FAT0);