[alsa-devel] [PATCH -next] ALSA: es1688: Remove set but not used variable 'hw'

Takashi Iwai tiwai at suse.de
Thu Feb 14 08:58:32 CET 2019


On Thu, 14 Feb 2019 03:10:33 +0100,
YueHaibing wrote:
> 
> Fixes gcc '-Wunused-but-set-variable' warning:
> 
> sound/isa/es1688/es1688_lib.c: In function 'snd_es1688_probe':
> sound/isa/es1688/es1688_lib.c:124:31: warning:
>  variable 'hw' set but not used [-Wunused-but-set-variable]
>   unsigned short major, minor, hw;
>                                ^
> 
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list