summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-02-16 19:06:27 +0000
committerMark Brown <broonie@kernel.org>2017-02-16 19:06:27 +0000
commit9c94909b15f4ea6c08f26e2a87546f2cc9b05267 (patch)
treedc845050965233714f12311cda5ec200e53f77c4 /sound
parentfc123f53dfdb77d1cbf0a36cc768731cb7c8a547 (diff)
parentbfe48dffc80e530d5e61efcbf03637493c5ffc0e (diff)
Merge remote-tracking branch 'asoc/topic/img' into asoc-next
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/img/img-parallel-out.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/img/img-parallel-out.c b/sound/soc/img/img-parallel-out.c
index c1610a054d65..33ceb207ee70 100644
--- a/sound/soc/img/img-parallel-out.c
+++ b/sound/soc/img/img-parallel-out.c
@@ -123,10 +123,8 @@ static int img_prl_out_hw_params(struct snd_pcm_substream *substream,
struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai);
unsigned int rate, channels;
u32 reg, control_set = 0;
- snd_pcm_format_t format;
rate = params_rate(params);
- format = params_format(params);
channels = params_channels(params);
switch (params_format(params)) {