diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-06-01 04:12:14 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-06-11 11:35:04 +0200 |
commit | d670d44582841cdd17a6d73f6d57027f14b31302 (patch) | |
tree | cb74e2e159871a0c50691346999c25e597e53a28 /sound/pci/lx6464es | |
parent | e046b64b1547e2dc1ac27e0a5ac57e55213e16f1 (diff) | |
download | linux-d670d44582841cdd17a6d73f6d57027f14b31302.tar.gz linux-d670d44582841cdd17a6d73f6d57027f14b31302.tar.bz2 linux-d670d44582841cdd17a6d73f6d57027f14b31302.zip |
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>
Diffstat (limited to 'sound/pci/lx6464es')
-rw-r--r-- | sound/pci/lx6464es/lx_core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/pci/lx6464es/lx_core.c b/sound/pci/lx6464es/lx_core.c index a80684bdc30d..36116881cf52 100644 --- a/sound/pci/lx6464es/lx_core.c +++ b/sound/pci/lx6464es/lx_core.c @@ -1001,8 +1001,6 @@ static int lx_interrupt_handle_async_events(struct lx6464es *chip, u32 irqsrc, * Stat[8] LSB overrun * */ - u64 orun_mask; - u64 urun_mask; int eb_pending_out = (irqsrc & MASK_SYS_STATUS_EOBO) ? 1 : 0; int eb_pending_in = (irqsrc & MASK_SYS_STATUS_EOBI) ? 1 : 0; @@ -1025,9 +1023,6 @@ static int lx_interrupt_handle_async_events(struct lx6464es *chip, u32 irqsrc, *r_notified_out_pipe_mask); } - orun_mask = ((u64)stat[7] << 32) + stat[8]; - urun_mask = ((u64)stat[5] << 32) + stat[6]; - /* todo: handle xrun notification */ return err; |