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: 1421404 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=kD8jsZxP; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4D5bJY2YtCz9sSs for ; Thu, 31 Dec 2020 02:47:25 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbgL3PrJ (ORCPT ); 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 Tested-by: Andrew Halaney Reviewed-by: Andrew Halaney --- drivers/pinctrl/nomadik/pinctrl-nomadik.c | 1 - 1 file changed, 1 deletion(-) 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 ",