ASoC: zx296702-i2s: remove unused ‘format’
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:37 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:35:20 +0000 (11:35 +0000)
commit6c2494f385958f5d8cdb5cb26507b7f47d498502
treeff2251c96efb5cc1418492aba608af8b2d2025fd
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: zx296702-i2s: remove unused ‘format’

In zx_i2s_hw_params(), 'format' is initialized and assigned bits based on
params_format, but never used. So remove it.

sound/soc/zte/zx296702-i2s.c: In function ‘zx_i2s_hw_params’:
sound/soc/zte/zx296702-i2s.c:228:21: warning: variable ‘format’ set but not used [-Wunused-but-set-variable]
  unsigned long val, format;

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/zte/zx-i2s.c