From patchwork Wed Dec 30 15:46:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 355281 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp11432442jai; Wed, 30 Dec 2020 07:47:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaWTb1jgeEgRH3RLMe16/mpSHJQ7ww6LnX6//f8d5EidazvISqXUm03A/6StA3PsKB1+gQ X-Received: by 2002:a17:906:30d3:: with SMTP id b19mr42853604ejb.538.1609343270125; Wed, 30 Dec 2020 07:47:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609343270; cv=none; d=google.com; s=arc-20160816; b=QoOQc0EnGiHiGPBinWfBuLAnyJWHwvyBFGBjmRzXcBlvgyX/q6WUykZ1iY4ZJ6JjcU knXeFvgQe4aNpLuvw6CL78+ZBXbBOsEO1AnB3OQLwN7dpHepKltjWpP/zXw36R1mi7yp h0Iz5mQwNA6GVg8dyH6PWFcUJf8aH54aU92XbUA2ZKvovsuW8bl3zJPLwwDrBw34Xt1a /GySW+d6CuQFpiBVrQuFFTs3CuO+fMBicNDbyJYHJcsZrBgcw8o2lH+mqvfki19Io5S1 naM6AXCD5ENpNltNU8JBnh4goJXZTS9Pe8N1oLoz4m5WlPah3iww9C+RkQVa8SZwx8s2 f+TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=DFiK/SOK3GbJgITVuTZa7KwUJhwEyiUo7mvIUhiJAzI=; b=c2ZCs8b75I1VkUyIaGuODFBe9e3dva40VKdQtVrfwZ72k2/yoL5JN87G2kS7K3xBbY qUDgYok8Ch07Z9GFi0vQida74TQpmjjqEBCwuCbIpmDDHeuWMKJsYHzk634PictzyG0O ScZDkf6ZSbfoLDY7nFFpT9IUmciLaSCi6n1jP90pzjCjGxrw2c5EfgF1cV8XFFFGRqMs SrY7HBGSpjwt0QOK31ySGdSX2qfBnZtUy/jjvwOU/HcCrQyQXDiBwPdzgRDDKkytZGHn bRDnxfJyXWeABIk3njHkDbNTFf5PsbJjuDP/txxEyFpvUr1znUB876AzV/CPN+8KSMcN 45YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kD8jsZxP; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si21724271ejy.317.2020.12.30.07.47.49; Wed, 30 Dec 2020 07:47:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kD8jsZxP; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbgL3PrJ (ORCPT + 3 others); Wed, 30 Dec 2020 10:47:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:46220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726514AbgL3PrJ (ORCPT ); Wed, 30 Dec 2020 10:47:09 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A670321D1B; Wed, 30 Dec 2020 15:46:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609343188; bh=lVfUpw3lvqT33Z8O0WjwPPEFBoU9imrzV2aT6/td96E=; h=From:To:Cc:Subject:Date:From; b=kD8jsZxPnCDyVXyVGOjSRbNCNs5XJtvkXibMhuQYfI+Xjd1ZT0NG+4ZN+Z0gH/sJr NB1LsGM0DjGJkPJ+AO/xzpjqROSitt0EC/DbE2gTE3U2lHf0UHY1xINmcDJf7KjpTu g3JKwW8/SvHMyWcZO5cvFibtG5NnDMSCNXTvJCcDlJTvI6u56WJOLs3wjazZT7NKOJ 8/DKRNpAb/TRvP7D3bgFd08/FIPo5KyENSiAjuPVEbhWDhEZ38uf9M1VrP20BjIG58 mdOEC+Uul4Y0v7qRImVbtzv6NL7a2+bpVDwqMTno0uX5LEs50RZKJLkBCVj9GmZbLC 06JMLJXG43kkA== From: Arnd Bergmann To: Linus Walleij , Thomas Gleixner Cc: Arnd Bergmann , Geert Uytterhoeven , Andrew Halaney , Jacopo Mondi , Ding Xiang , Matti Vaittinen , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: nomadik: remove an unused variable Date: Wed, 30 Dec 2020 16:46:17 +0100 Message-Id: <20201230154624.714388-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Arnd Bergmann A recent patch added a local variable twice: drivers/pinctrl/nomadik/pinctrl-nomadik.c:953:8: error: unused variable 'wake' [-Werror,-Wunused-variable] Remove the unused outer declaration Fixes: f3925032d7fd ("pinctrl: nomadik: Use irq_has_action()") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/nomadik/pinctrl-nomadik.c | 1 - 1 file changed, 1 deletion(-) -- 2.29.2 Tested-by: Andrew Halaney Reviewed-by: Andrew Halaney 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 ",