ALSA: hda - remove unused clear of STATESTS
authorDylan Reid <dgreid@chromium.org>
Fri, 28 Feb 2014 23:41:17 +0000 (15:41 -0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 1 Mar 2014 10:21:19 +0000 (11:21 +0100)
Although the code was updated last year the "#if 0" surrounding it
dates back to the original git commit.  The function will be moved to
a new file, no need to carry the dead code.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c

index c4b6447bfc7e77023cab4bd4aa1a61299e964178..7cdb4dde341b271507b1114ec7d9e6ab1823d24a 100644 (file)
@@ -1081,11 +1081,6 @@ static irqreturn_t azx_interrupt(int irq, void *dev_id)
                azx_writeb(chip, RIRBSTS, RIRB_INT_MASK);
        }
 
-#if 0
-       /* clear state status int */
-       if (azx_readw(chip, STATESTS) & 0x04)
-               azx_writew(chip, STATESTS, 0x04);
-#endif
        spin_unlock(&chip->reg_lock);
        
        return IRQ_HANDLED;