diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2022-02-21 09:54:17 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2022-02-21 10:08:06 +0000 |
commit | d6ab3d1c20de93727d6900ae13c1c547c978d716 (patch) | |
tree | 6d9415858673c95e25642dedb123fb861ce92602 | |
parent | 3dc60bab2750cdab9963c179786cd7d4f1931303 (diff) |
arm64: allwinner: aw_i2s: Plug set but not used variable
Sponsored by: Beckhoff Automation GmbH & Co. KG
-rw-r--r-- | sys/arm/allwinner/aw_i2s.c | 3 |
1 files changed, 1 insertions, 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); |