projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2a375
)
ASoC: pcm: Fix unused variable warning
author
Takashi Iwai
<tiwai@suse.de>
Wed, 31 Dec 2014 16:10:34 +0000
(17:10 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 31 Dec 2014 16:13:29 +0000
(17:13 +0100)
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>
sound/soc/soc-pcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/soc-pcm.c
b/sound/soc/soc-pcm.c
index d62d6a5340a85c7ff8b84bba17badbfa8879bdb4..c076993a20d084587b3fef670aa743553c60d179 100644
(file)
--- 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)
static void soc_pcm_set_msb(struct snd_pcm_substream *substream, int bits)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
- int ret
, i
;
+ int ret;
if (!bits)
return;