ASoC: Intel: Skylake: Fix unused variable warning
authorVinod Koul <vinod.koul@intel.com>
Thu, 27 Apr 2017 06:51:21 +0000 (12:21 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 30 Apr 2017 12:50:14 +0000 (21:50 +0900)
commit9ed4aefe6f5f7e1dfe6abe8b15cfc8c48963b6c0
tree9ba6a044af28ddc30e2f90e3ddf8083446b85049
parent351d74e4d7eacaab2ed0092b855355d5e2907117
ASoC: Intel: Skylake: Fix unused variable warning

With compiler option W=1, we have one more warning in the driver for
'set but unused variable', so remove the unused variable to fix it.

sound/soc/intel/skylake/skl-pcm.c: In function ‘skl_platform_open’:
sound/soc/intel/skylake/skl-pcm.c:954:26: warning: variable ‘runtime’ set but not used [-Wunused-but-set-variable]
  struct snd_pcm_runtime *runtime;

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c