From patchwork Tue Dec 29 20:47:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 11992615 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34B66C433DB for ; Tue, 29 Dec 2020 20:49:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DA92021D1B for ; Tue, 29 Dec 2020 20:49:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DA92021D1B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=GiYQ/lxwzl03eameL+J3rSUbQrENqGU2IV4dy+ifVTc=; b=14TwoyzNVQumtdAJKauAHAowve 3XWydGI4q4vubn5/zqNLBRXxlGcuIjyqC8WGqHz65PJggDo1Mfd6a+jfVI9x0C7FuS4GkJIqv3Yqs cncXNQIFshFTWJHtDQrDeVNUM8a3znWh/BPP2igqB2ml/+Zcyy48iemgevJlJJ4rhx6FEZQ2vlpWw fRE7PcebYSq4giN1bxRwTbxHU+ESTkV2vY255CwD9OC2i4fEDmdqXn6gtEWoISzlRUTOG2pEZicSE bZO0KLb4xli/KoaTYXPPfoyLxIia8ggANFuE2CLtyPYNW6H9pXeHOXXz/CsaUmmSMvOxdQSASJBNH cZ1JoR0Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuLtz-0006C8-Ul; Tue, 29 Dec 2020 20:47:31 +0000 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kuLtw-0006BI-Ru for linux-arm-kernel@lists.infradead.org; Tue, 29 Dec 2020 20:47:29 +0000 Received: by mail-qv1-xf35.google.com with SMTP id l7so6896974qvt.4 for ; Tue, 29 Dec 2020 12:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y+rG0GxaF7x1wXd8TaaHi/8Xfv1oonAYxPZa52+iv1g=; b=VbPKpHSd6tZDH2zm47wqbko1A0NgXSGNZkyRuWT0E2sm0HTfdFGyHB/RCpWIrj7w6K 6n3mAJ2YuIkUF8tc/Vwb7YU3jzqAvQ2K6gMG6pw9rwMinOmto/FfSwtx3dEuJVqwnIJK nJ0oxhLGzqgHFkd/VxDZ25QH9kktVZZZG2zzfsYFgUC3h3471N3WWeDrlbOJrLxhFyKb DB4DGheTESkWASZV2gKyaTv9HKFUbvDmwZo1pGfdaxr6PaTv8s8/Fem2m2YLZt6RMK7v BthRbKXKTbOpr1mRPdPglD+3dbyVjIDJgve7+rr+6hEi2O4dHkip7cTrYSKDpbCTN/1h siuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y+rG0GxaF7x1wXd8TaaHi/8Xfv1oonAYxPZa52+iv1g=; b=RM/8M0nTA7e80kdd92gvfNlvhkXvd9EHnZWhPaHYmW/yFW3/HDP+9et+ZH2hdX8DGN cAv/1YCIwWQzeW2RYOjZrqh506Dm4yRop3icA1yZpw0c/7qyrH2t3ZgJ27PRJyptVVMK Jg2UUNlYDw1qeU5y7HJgRtIsIgoFgFgbYw/V9AnLBb/M6Bm+m3hDwSdb4YAcv2cA7rmy u4twCrrKjy/k0907nqaoiK6w3ESkK6EtJZuNScmLz2xidPUK+w48eBGLCTD14U/G9MDi 9S2dZQiow8Pawnek6cx7LLH9yfE1ByFj4Vld1CNYlG8PJQ/IiJXy5JyrUsFv/UMKAycM xtTg== X-Gm-Message-State: AOAM5314bweaBxJ8enLIzO82oIA/nBanuZKi2Z3oiaMtJ/TtAbfYd4qH T/qeCqSac8nEuwABPboK3wI= X-Google-Smtp-Source: ABdhPJx/7QCz1uzdmG7N+yZpMXQZ01RrfD1TOA7M0mU/tmv2rVqr45+D6n3cQ9hHWlePDfPWlfO3pA== X-Received: by 2002:a0c:f690:: with SMTP id p16mr5946583qvn.58.1609274842134; Tue, 29 Dec 2020 12:47:22 -0800 (PST) Received: from localhost.localdomain ([2604:1380:45f1:1d00::1]) by smtp.gmail.com with ESMTPSA id w8sm27667541qts.50.2020.12.29.12.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Dec 2020 12:47:21 -0800 (PST) From: Nathan Chancellor To: Thomas Gleixner , Linus Walleij Subject: [PATCH] pinctrl: nomadik: Remove unused variable in nmk_gpio_dbg_show_one Date: Tue, 29 Dec 2020 13:47:10 -0700 Message-Id: <20201229204710.1129033-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-Patchwork-Bot: notify X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201229_154728_932888_30D5AE18 X-CRM114-Status: GOOD ( 13.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-gpio@vger.kernel.org, Nathan Chancellor , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, clang-built-linux@googlegroups.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Clang warns: drivers/pinctrl/nomadik/pinctrl-nomadik.c:952:8: warning: unused variable 'wake' [-Wunused-variable] bool wake; ^ 1 warning generated. There were two wake declarations added to nmk_gpio_dbg_show_one when converting it to use irq_has_action but only one is used within its scope. Remove the unused one so there is no more warning. Fixes: f3925032d7fd ("pinctrl: nomadik: Use irq_has_action()") Signed-off-by: Nathan Chancellor --- drivers/pinctrl/nomadik/pinctrl-nomadik.c | 1 - 1 file changed, 1 deletion(-) base-commit: 5c8fe583cce542aa0b84adc939ce85293de36e5e diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c index d4ea10803fd9..abfe11c7b49f 100644 --- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c +++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c @@ -949,7 +949,6 @@ static void nmk_gpio_dbg_show_one(struct seq_file *s, } else { int irq = chip->to_irq(chip, offset); const int pullidx = pull ? 1 : 0; - bool wake; int val; static const char * const pulls[] = { "none ",