From: Curtis Malainey Subject: [PATCH] ASoC: rt5677: remove superfluous set Date: Wed, 10 Jul 2019 17:28:38 -0700 Message-ID: <20190711002838.35363-1-cujomalainey@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 20D2FF800E2 for ; Thu, 11 Jul 2019 02:28:52 +0200 (CEST) Received: by mail-pg1-x542.google.com with SMTP id o13so2004084pgp.12 for ; Wed, 10 Jul 2019 17:28:52 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: alsa-devel@alsa-project.org Cc: Oder Chiou , Takashi Iwai , Liam Girdwood , Mark Brown , Bard Liao , Curtis Malainey List-Id: alsa-devel@alsa-project.org We define this variable with the same value, no need to set it twice Signed-off-by: Curtis Malainey --- 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