[alsa-devel] [PATCH] sound: soc: soc-pcm: Remove useless varialbe 'i'

Chen Gang S gang.chen at sunrus.com.cn
Sat Jan 3 11:15:51 CET 2015


On 1/3/15 17:59, Takashi Iwai wrote:
> At Sat, 03 Jan 2015 17:45:57 +0800,
> Chen Gang wrote:
>>
>> 'i' is useless in soc_pcm_set_msb(), so remove it, the related warning
>> (with allmodconfig under s390):
>>
>>     CC [M]  sound/soc/soc-pcm.o
>>   sound/soc/soc-pcm.c: In function 'soc_pcm_set_msb':
>>   sound/soc/soc-pcm.c:307:11: warning: unused variable 'i' [-Wunused-variable]
>>     int ret, i;
>>              ^
> 
> Thanks, but this was already fixed.
> 

OK, thanks.

-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed


More information about the Alsa-devel mailing list