[alsa-devel] [PATCH] ASoC: Remove unused variables in wm9090.c

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Dec 16 13:54:07 CET 2011


On Fri, Dec 16, 2011 at 03:49:10PM +0800, Axel Lin wrote:
> Fix below build warnings:
>   CC      sound/soc/codecs/wm9090.o
> sound/soc/codecs/wm9090.c: In function 'wm9090_set_bias_level':
> sound/soc/codecs/wm9090.c:496: warning: unused variable 'ret'
> sound/soc/codecs/wm9090.c:496: warning: unused variable 'i'
> sound/soc/codecs/wm9090.c:495: warning: unused variable 'reg_cache'
> sound/soc/codecs/wm9090.c: In function 'wm9090_i2c_remove':
> sound/soc/codecs/wm9090.c:658: warning: unused variable 'wm9090'

Future changes that need a bit more testing deal with all these.


More information about the Alsa-devel mailing list