]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: adau17x1: remove unused ‘ret’
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:31 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:21:13 +0000 (11:21 +0000)
commit1d00734806d6125269d0acf1b88aa6f7c7402ba2
tree30f96110c47336a8e97374469c974c1deeedeef4
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: adau17x1: remove unused ‘ret’

In adau17x1_pll_event(), 'ret' is initialized as return value of
regmap_raw_write() but never checked, so remove this and assignement.

sound/soc/codecs/adau17x1.c: In function ‘adau17x1_pll_event’:
sound/soc/codecs/adau17x1.c:68:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  int ret;

Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau17x1.c