ASoC: samsung: smdk_wm8580: remove unused ‘bfs’
authorVinod Koul <vinod.koul@intel.com>
Thu, 8 Dec 2016 17:31:36 +0000 (23:01 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Dec 2016 11:34:44 +0000 (11:34 +0000)
commite85a709974db40779f5942ed81e9262c62179863
treef0837588aa785e78c3a4f7a98d75b35f88b60f66
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: samsung: smdk_wm8580: remove unused ‘bfs’

In smdk_hw_params(), 'bfs' is initialized and assigned bits based on
params_width, but never used.

We could have removed the whole switch case but then driver might be
relying on checking bits, so I have kept the case for now.

sound/soc/samsung/smdk_wm8580.c: In function ‘smdk_hw_params’:
sound/soc/samsung/smdk_wm8580.c:35:6: warning: variable ‘bfs’ set but not used [-Wunused-but-set-variable]
  int bfs, rfs, ret;

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