Message ID | 1412235193-18743-1-git-send-email-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | 3a4b094d5d09b8e0d007b2ca3de4f42df3af46e6 |
Headers | show
Return-Path: <patchwork-forward+bncBDE6RCFOWIARBQX7WOQQKGQEQ7LMFBQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ADE7B20BF9 for <linaro@patches.linaro.org>; Thu, 2 Oct 2014 07:33:23 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id q1sf808701lam.0 for <linaro@patches.linaro.org>; Thu, 02 Oct 2014 00:33:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=VNWT1va9VRS79mL6z9Abb3Q+874rPfMzpQWSL5U8OCM=; b=MndTSwDZR8CLE2cTp25MiO4ydP1AQeWXL2uJbwHd5Wk1nGMqQRMQsoUKGD1enEqL8F e6kyk/n52qmqFUn3fhffTZK8M3KcwBlwHWbB0M30Rk7UfeJj2zL8cGRLJuRNgnRufSQR BSH5vZQzZN9L/mpLHuhhSCFLnuBkLz7oBFcaO3yi+FrpxXjmw3hwLYdh+Vqy/rlq4G9o /C2V0f+7DF06Df3MFkYb/mv97DC+c/O05ij7NJjkxWc53SDjNZNNcpTr53a0tsCEPG9T OZ4KwuJ0tVLMcy61WeyF128qDfMm15fsrqVLl8mEYTmRYD4sFSCHYytB0HWOhEQJcBl5 xcpA== X-Gm-Message-State: ALoCoQmMNKqm0fvffWDB2V96FVBzeeqs2xuIVPmtemZKJoP4rlVcb+SsmIGkXOHYPIVRV0/WJqi5 X-Received: by 10.180.221.236 with SMTP id qh12mr295563wic.4.1412235202453; Thu, 02 Oct 2014 00:33:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.100 with SMTP id z4ls247987laz.60.gmail; Thu, 02 Oct 2014 00:33:22 -0700 (PDT) X-Received: by 10.152.44.136 with SMTP id e8mr61477438lam.36.1412235202283; Thu, 02 Oct 2014 00:33:22 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx.google.com with ESMTPS id mk4si5249785lbc.48.2014.10.02.00.33.22 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 Oct 2014 00:33:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id q1so1822351lam.36 for <patchwork-forward@linaro.org>; Thu, 02 Oct 2014 00:33:22 -0700 (PDT) X-Received: by 10.112.163.103 with SMTP id yh7mr57491160lbb.73.1412235202144; Thu, 02 Oct 2014 00:33:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp9888lbb; Thu, 2 Oct 2014 00:33:21 -0700 (PDT) X-Received: by 10.66.144.9 with SMTP id si9mr6163803pab.64.1412235200773; Thu, 02 Oct 2014 00:33:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zg1si3103540pbc.101.2014.10.02.00.33.20 for <patch@linaro.org>; Thu, 02 Oct 2014 00:33:20 -0700 (PDT) Received-SPF: none (google.com: linux-gpio-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbaJBHdT (ORCPT <rfc822;patch@linaro.org>); Thu, 2 Oct 2014 03:33:19 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:49805 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbaJBHdT (ORCPT <rfc822; linux-gpio@vger.kernel.org>); Thu, 2 Oct 2014 03:33:19 -0400 Received: by mail-wg0-f48.google.com with SMTP id n12so2298230wgh.19 for <linux-gpio@vger.kernel.org>; Thu, 02 Oct 2014 00:33:18 -0700 (PDT) X-Received: by 10.180.231.9 with SMTP id tc9mr1810190wic.58.1412235197945; Thu, 02 Oct 2014 00:33:17 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id dc9sm275154wib.5.2014.10.02.00.33.16 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Oct 2014 00:33:17 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: linux-gpio@vger.kernel.org Cc: Alexandre Courbot <acourbot@nvidia.com>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH] pinctrl: abx500: get rid of unused variable Date: Thu, 2 Oct 2014 09:33:13 +0200 Message-Id: <1412235193-18743-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-gpio@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c index 7df34b70e8b6..080bcf8568c9 100644 --- a/drivers/pinctrl/nomadik/pinctrl-abx500.c +++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c @@ -1206,7 +1206,7 @@ static int abx500_gpio_probe(struct platform_device *pdev) const struct of_device_id *match; struct abx500_pinctrl *pct; unsigned int id = -1; - int ret, err; + int ret; int i; if (!np) {
commit 2fcea6cecbc965b4e02a39537d9d939f5251bbbd "pinctrl: remove remaining users of gpiochip_remove() retval" removed the use of the return value from gpiochip_remove() but missed to delete the dangling "err" variable: drivers/pinctrl/nomadik/pinctrl-abx500.c: In function 'abx500_gpio_probe': drivers/pinctrl/nomadik/pinctrl-abx500.c:1208:11: warning: unused variable 'err' [-Wunused-variable] Fix this by getting rid of the dangling variable. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/pinctrl/nomadik/pinctrl-abx500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)