[alsa-devel] [PATCH] ASoC: rt5677: remove superfluous set
Curtis Malainey
cujomalainey at chromium.org
Thu Jul 11 02:28:38 CEST 2019
We define this variable with the same value, no need to set it twice
Signed-off-by: Curtis Malainey <cujomalainey at chromium.org>
---
sound/soc/codecs/rt5677.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c
index c779dc3474f9e..deaed5132dc95 100644
--- a/sound/soc/codecs/rt5677.c
+++ b/sound/soc/codecs/rt5677.c
@@ -5098,7 +5098,6 @@ static irqreturn_t rt5677_irq(int unused, void *data)
goto exit;
}
- irq_fired = false;
for (i = 0; i < RT5677_IRQ_NUM; i++) {
if (reg_irq & rt5677_irq_descs[i].status_mask) {
irq_fired = true;
--
2.22.0.410.gd8fdbe21b5-goog
More information about the Alsa-devel
mailing list