]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: Intel: Skylake: remove unused 'ret'
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:24 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:20:04 +0000 (11:20 +0000)
commit547cafa3efc3f12101cafd454e651c9a5a8feae4
tree80fb5722143b771db0639e285feb10b730fc02eb
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: Intel: Skylake: remove unused 'ret'

In skl_tplg_mixer_dapm_post_pmd_event(), a variable 'ret' is initialized but
not used.

We don't check return of skl_delete_pipe, so remove the assignment as
well, so remove this variable.

sound/soc/intel/skylake/skl-topology.c: In function ‘skl_tplg_mixer_dapm_post_pmd_event’:
sound/soc/intel/skylake/skl-topology.c:976:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  int ret = 0;
      ^
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c