aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-04-17 05:51:19 -0400
committerTakashi Iwai <tiwai@suse.de>2014-04-18 03:56:30 -0400
commit4899210263a010b34d492d781e0d4fea82655c48 (patch)
treef17c1a70beeb23bbd59e682bc71f1321851adf7c
parent68e440bb48a35c65756471e3cb952ed7fb7cef5b (diff)
ALSA: lx_core: Remove dead code
Some code was never compiled because hidden between an #if 0 .. #endif structure, and even when removing these, it was never actually used elsewhere. Remove it entirely. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/lx6464es/lx_core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/lx6464es/lx_core.c b/sound/pci/lx6464es/lx_core.c
index 9e0acba82751..0ad6358b5fe2 100644
--- a/sound/pci/lx6464es/lx_core.c
+++ b/sound/pci/lx6464es/lx_core.c
@@ -1041,10 +1041,6 @@ static int lx_interrupt_handle_async_events(struct lx6464es *chip, u32 irqsrc,
1041 1041
1042 u64 orun_mask; 1042 u64 orun_mask;
1043 u64 urun_mask; 1043 u64 urun_mask;
1044#if 0
1045 int has_underrun = (irqsrc & MASK_SYS_STATUS_URUN) ? 1 : 0;
1046 int has_overrun = (irqsrc & MASK_SYS_STATUS_ORUN) ? 1 : 0;
1047#endif
1048 int eb_pending_out = (irqsrc & MASK_SYS_STATUS_EOBO) ? 1 : 0; 1044 int eb_pending_out = (irqsrc & MASK_SYS_STATUS_EOBO) ? 1 : 0;
1049 int eb_pending_in = (irqsrc & MASK_SYS_STATUS_EOBI) ? 1 : 0; 1045 int eb_pending_in = (irqsrc & MASK_SYS_STATUS_EOBI) ? 1 : 0;
1050 1046