]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ALSA: lx6464es - Remove set but not used variables 'orun_mask, urun_mask'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 1 Jun 2019 04:12:14 +0000 (04:12 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 09:35:04 +0000 (11:35 +0200)
commitd670d44582841cdd17a6d73f6d57027f14b31302
treecb74e2e159871a0c50691346999c25e597e53a28
parente046b64b1547e2dc1ac27e0a5ac57e55213e16f1
ALSA: lx6464es - Remove set but not used variables 'orun_mask, urun_mask'

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@huawei.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/lx6464es/lx_core.c