diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-12-08 20:31:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-15 14:22:20 +0300 |
commit | 9fe78b2888ad8bf52536658835c794483e4ac8da (patch) | |
tree | 7cf6a436cc04b7e6e4e7fcd7834f6dee2c432851 /sound/soc/codecs/wm8971.h | |
parent | a5de5b74a50113564a1e0850e2da96c37c35e55d (diff) | |
download | linux-9fe78b2888ad8bf52536658835c794483e4ac8da.tar.xz |
ASoC: max9867: remove unused ‘ret’
In max9867_dai_set_fmt(), 'ret' is initialized as return value of
regmap_raw_write() but never checked, so remove this and assignement.
sound/soc/codecs/max9867.c: In function ‘max9867_dai_set_fmt’:
sound/soc/codecs/max9867.c:312:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret;
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8971.h')
0 files changed, 0 insertions, 0 deletions