aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-02-19 16:35:47 +0000
committerMark Brown <broonie@kernel.org>2017-02-19 16:35:47 +0000
commit715d525b413cde6e86caf0a744287d7b71395d1e (patch)
treec9f1ee401bcf55741d8565af6f5f98e809b75581 /sound
parentMerge remote-tracking branch 'asoc/topic/intel' into asoc-next (diff)
parentASoC: pcm3168a: remove unused ‘format’ (diff)
downloadlinux-dev-715d525b413cde6e86caf0a744287d7b71395d1e.tar.xz
linux-dev-715d525b413cde6e86caf0a744287d7b71395d1e.zip
Merge remote-tracking branch 'asoc/topic/pcm3168a' into asoc-next
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/pcm3168a.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/pcm3168a.c b/sound/soc/codecs/pcm3168a.c
index 39bc02d5bc5d..b9d1207ccef2 100644
--- a/sound/soc/codecs/pcm3168a.c
+++ b/sound/soc/codecs/pcm3168a.c
@@ -402,10 +402,8 @@ static int pcm3168a_hw_params(struct snd_pcm_substream *substream,
u32 val, mask, shift, reg;
unsigned int rate, fmt, ratio, max_ratio;
int i, min_frame_size;
- snd_pcm_format_t format;
rate = params_rate(params);
- format = params_format(params);
ratio = pcm3168a->sysclk / rate;