mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
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: 0e2a37513a
('ASoC: pcm: Use wildcard msbits constraints')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
0e2a37513a
commit
c6068d3a7b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue