]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ALSA: lx_core: Remove dead code
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 17 Apr 2014 09:51:19 +0000 (11:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Apr 2014 07:56:30 +0000 (09:56 +0200)
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>
sound/pci/lx6464es/lx_core.c

index 9e0acba827516a11aa080d8a575e309e760ed8ae..0ad6358b5fe2076e813b90b9912c108c110b80ec 100644 (file)
@@ -1041,10 +1041,6 @@ static int lx_interrupt_handle_async_events(struct lx6464es *chip, u32 irqsrc,
 
        u64 orun_mask;
        u64 urun_mask;
-#if 0
-       int has_underrun   = (irqsrc & MASK_SYS_STATUS_URUN) ? 1 : 0;
-       int has_overrun    = (irqsrc & MASK_SYS_STATUS_ORUN) ? 1 : 0;
-#endif
        int eb_pending_out = (irqsrc & MASK_SYS_STATUS_EOBO) ? 1 : 0;
        int eb_pending_in  = (irqsrc & MASK_SYS_STATUS_EOBI) ? 1 : 0;