ASoC: rt5677: remove superfluous set
authorCurtis Malainey <cujomalainey@chromium.org>
Thu, 11 Jul 2019 00:28:38 +0000 (17:28 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:10:20 +0000 (13:10 +0100)
We define this variable with the same value, no need to set it twice

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20190711002838.35363-1-cujomalainey@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c

index c779dc3474f9e2c6655b545b89f2db111313f1c2..deaed5132dc9599c9b6c41e992387ffb74265115 100644 (file)
@@ -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;