Commit 4dc057a7 authored by Curtis Malainey's avatar Curtis Malainey Committed by Mark Brown

ASoC: rt5677: remove superfluous set

We define this variable with the same value, no need to set it twice
Signed-off-by: default avatarCurtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20190711002838.35363-1-cujomalainey@chromium.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent eaba5585
...@@ -5098,7 +5098,6 @@ static irqreturn_t rt5677_irq(int unused, void *data) ...@@ -5098,7 +5098,6 @@ static irqreturn_t rt5677_irq(int unused, void *data)
goto exit; goto exit;
} }
irq_fired = false;
for (i = 0; i < RT5677_IRQ_NUM; i++) { for (i = 0; i < RT5677_IRQ_NUM; i++) {
if (reg_irq & rt5677_irq_descs[i].status_mask) { if (reg_irq & rt5677_irq_descs[i].status_mask) {
irq_fired = true; irq_fired = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment