]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: pcm3168a: remove unused ‘format’
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:33 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:22:35 +0000 (11:22 +0000)
commitfc25914631d623880b5fc3abf067bcb3e8c6b4d4
tree7220c2c160d81335eaa272f6ef45fd54091d8535
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: pcm3168a: remove unused ‘format’

In pcm3168a_hw_params(), 'format' is initialized but never used.

sound/soc/codecs/pcm3168a.c: In function ‘pcm3168a_hw_params’:
sound/soc/codecs/pcm3168a.c:405:19: warning: variable ‘format’ set but not
used [-Wunused-but-set-variable]
  snd_pcm_format_t format;

Cc: Damien.Horsley <Damien.Horsley@imgtec.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c