diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2018-09-26 21:37:40 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:49:56 +0100 |
| commit | 08e7931218521d61594e5b2ba9dea68dd9a3f13b (patch) | |
| tree | 1fef2f293cbf4b16afc1cb7a5120b6d2391199e0 /include/linux | |
| parent | bce5c4c3038cd26e7d7f00dd702aedefae6542a3 (diff) | |
ASoC: wm9712: fix unused variable warning
[ Upstream commit 18380dcc52cc8965e5144ce33fdfad7e168679a5 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
