From d6ab3d1c20de93727d6900ae13c1c547c978d716 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Mon, 21 Feb 2022 10:54:17 +0100 Subject: [PATCH] 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 013e88a548a..d7478a443d3 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);