aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5677.c
diff options
context:
space:
mode:
authorCurtis Malainey <cujomalainey@chromium.org>2019-07-10 17:28:38 -0700
committerMark Brown <broonie@kernel.org>2019-07-22 13:10:20 +0100
commit4dc057a786dc23fd1ed70e6bcab691c0f26daa1e (patch)
treeda9ff9db2fc35cf8c40a342828f288343f73746e /sound/soc/codecs/rt5677.c
parentASoC: codecs: ad193x: Use regmap_multi_reg_write() when initializing (diff)
downloadlinux-dev-4dc057a786dc23fd1ed70e6bcab691c0f26daa1e.tar.xz
linux-dev-4dc057a786dc23fd1ed70e6bcab691c0f26daa1e.zip
ASoC: rt5677: remove superfluous set
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>
Diffstat (limited to 'sound/soc/codecs/rt5677.c')
-rw-r--r--sound/soc/codecs/rt5677.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c
index c779dc3474f9..deaed5132dc9 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;