diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-12-31 11:10:34 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-12-31 11:13:29 -0500 |
commit | c6068d3a7b408554a832181b98091ee5a00d8b85 (patch) | |
tree | f41915dff59ae95db700dba9a02fcdd1e24332f1 /sound/soc/soc-pcm.c | |
parent | 0e2a37513a1fafa0b9829e992633a80861c3b4b5 (diff) |
ASoC: pcm: Fix unused variable warning
sound/soc/soc-pcm.c: In function ‘soc_pcm_set_msb’:
sound/soc/soc-pcm.c:307:11: warning: unused variable ‘i’ [-Wunused-variable]
Fixes: 0e2a37513a1f ('ASoC: pcm: Use wildcard msbits constraints')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r-- | sound/soc/soc-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index d62d6a5340a8..c076993a20d0 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c | |||
@@ -304,7 +304,7 @@ static bool soc_pcm_has_symmetry(struct snd_pcm_substream *substream) | |||
304 | static void soc_pcm_set_msb(struct snd_pcm_substream *substream, int bits) | 304 | static void soc_pcm_set_msb(struct snd_pcm_substream *substream, int bits) |
305 | { | 305 | { |
306 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 306 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
307 | int ret, i; | 307 | int ret; |
308 | 308 | ||
309 | if (!bits) | 309 | if (!bits) |
310 | return; | 310 | return; |