diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-09-26 21:37:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-28 00:22:54 +0200 |
commit | 18380dcc52cc8965e5144ce33fdfad7e168679a5 (patch) | |
tree | 4c040efa11b4e0514c2b291048b1eaed2f6a948d /net/xdp | |
parent | ASoC: atmel: add SND_SOC_I2C_AND_SPI dependency (diff) | |
download | linux-18380dcc52cc8965e5144ce33fdfad7e168679a5.tar.xz linux-18380dcc52cc8965e5144ce33fdfad7e168679a5.zip |
ASoC: wm9712: fix unused variable warning
The 'ret' variable is now only used in an #ifdef, and causes a
warning if it is declared outside of that block:
sound/soc/codecs/wm9712.c: In function 'wm9712_soc_probe':
sound/soc/codecs/wm9712.c:641:6: error: unused variable 'ret' [-Werror=unused-variable]
Fixes: 2ed1a8e0ce8d ("ASoC: wm9712: add ac97 new bus support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions