Skip to content

Commit 4899210

Browse files
mripardtiwai
authored andcommitted
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 68e440b commit 4899210

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sound/pci/lx6464es/lx_core.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,10 +1041,6 @@ static int lx_interrupt_handle_async_events(struct lx6464es *chip, u32 irqsrc,
10411041

10421042
u64 orun_mask;
10431043
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
10481044
int eb_pending_out = (irqsrc & MASK_SYS_STATUS_EOBO) ? 1 : 0;
10491045
int eb_pending_in = (irqsrc & MASK_SYS_STATUS_EOBI) ? 1 : 0;
10501046

0 commit comments

Comments
 (0)