ASoC: topology: remove unused 'err'
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:27 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:20:19 +0000 (11:20 +0000)
commitfd34045567991dc77a50163c5d0e465b423df962
tree6627080f384f502cdca9e3509f4dfc3a1a8cc3b8
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: topology: remove unused 'err'

In soc_tplg_pcm_elems_load, a variable 'err' is initialized but not
used.

It is assigned return values for pcm_new_ver() but never checked, so
remove it.

sound/soc/soc-topology.c: In function ‘soc_tplg_pcm_elems_load’:
sound/soc/soc-topology.c:1865:9: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  int i, err;

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c