aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2014-02-28 18:41:17 -0500
committerTakashi Iwai <tiwai@suse.de>2014-03-01 05:21:19 -0500
commitf563bf65d9028c58bb0ecea9c8d40d5a57e64b3f (patch)
tree55b56a2360f894c055c7618cc180644a372bede7 /sound/pci/hda
parentf46ea609d1484818f39e6760c33a1629c756116e (diff)
ALSA: hda - remove unused clear of STATESTS
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>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/hda_intel.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index c4b6447bfc7e..7cdb4dde341b 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1081,11 +1081,6 @@ static irqreturn_t azx_interrupt(int irq, void *dev_id)
1081 azx_writeb(chip, RIRBSTS, RIRB_INT_MASK); 1081 azx_writeb(chip, RIRBSTS, RIRB_INT_MASK);
1082 } 1082 }
1083 1083
1084#if 0
1085 /* clear state status int */
1086 if (azx_readw(chip, STATESTS) & 0x04)
1087 azx_writew(chip, STATESTS, 0x04);
1088#endif
1089 spin_unlock(&chip->reg_lock); 1084 spin_unlock(&chip->reg_lock);
1090 1085
1091 return IRQ_HANDLED; 1086 return IRQ_HANDLED;