[alsa-devel] [PATCH -next] ALSA: lx6464es - Remove set but not used variables 'orun_mask, urun_mask'
Takashi Iwai
tiwai at suse.de
Tue Jun 11 11:35:26 CEST 2019
On Sat, 01 Jun 2019 06:12:14 +0200,
YueHaibing wrote:
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> sound/pci/lx6464es/lx_core.c: In function 'lx_interrupt_handle_async_events':
> sound/pci/lx6464es/lx_core.c:990:6: warning:
> variable 'urun_mask' set but not used [-Wunused-but-set-variable]
> sound/pci/lx6464es/lx_core.c:989:6: warning:
> variable 'orun_mask' set but not used [-Wunused-but-set-variable]
>
> They are never used, so can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing at huawei.com>
Applied, thanks.
Takashi
More information about the Alsa-devel
mailing list