From patchwork Fri May 3 23:18:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 163332 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp1195196ill; Fri, 3 May 2019 16:20:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxccTM9XXFLCRnL1sxfHXB2oVfYVHwkzRV+fXVzdVsAvuIXOZPtqWL/nHzesC0I9HkTBEEf X-Received: by 2002:a65:5106:: with SMTP id f6mr14309813pgq.253.1556925637486; Fri, 03 May 2019 16:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556925637; cv=none; d=google.com; s=arc-20160816; b=aLCoQnpTrSIGn3KpCiyPwHWORuFfSdc0oHyIWTd0VYxRfDZiHipeS66rtdC4MlHCud An2ryeUrqIlYJCACqahfZpDgzcwjKyiP5Xhno7an0FroHQnk2COKz+cSNN974wnl6/Yf dCIyjAm8uK5IiAkFCKo+ts6vZo0cWFS7YVnEy3/ZXQuxDId9cMpRW9uxVb0BYxqLbzYn TWpvSvV9IcmWLe/ESstuTfOyCOqiUpVxaJ3vp3m7eTpUL1CbrIZ+JqY08ywRb2b5g/RG Wf9y9zuhLUJA+WuerHptYrXnuH9+SmwAq4KOZwuZSoFxDCljPmtuFzmjNVXVnn2ZgHst aZqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=OK5m9Cm+xqBfZ44Cyga28760Sdb3iwEFSEr+ygWKg7U=; b=SMAidV5IXj5Y8yue3jAbr1IdgWsv5Zsl8++ruTVwvYqK9Sk/mMtjWpp4mjDaa4ZeZ9 p2CLWVXnXSAJ9ZeEVE1Dl+N8jKUK3f+N6hvpuw1fYVbSsB420dKrZhC75wmj/NDhY/+H jZXuQVGcakCN5gGxeTKGuvrjBopWiUuHLAR7uhXkdloxz73XjuXJ74a2qwuYK60MYd5T xpoc1EArB+K5jaV7de/LzcHKZ4vi0w4uGoX61fufQabTtdPwRK+O1qzxZ8wTDxy4u30L STFoSrR9ukc0h+WCAGWWIedXqj1RZVkRFnlQ0G8Cq2NeD8WW7qOKEBAvgm5hQV8oB7mT owAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rL7RJVIB; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si4546860pgb.407.2019.05.03.16.20.37; Fri, 03 May 2019 16:20:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rL7RJVIB; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726150AbfECXUg (ORCPT + 1 other); Fri, 3 May 2019 19:20:36 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:36576 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726059AbfECXUg (ORCPT ); Fri, 3 May 2019 19:20:36 -0400 Received: by mail-lj1-f196.google.com with SMTP id y8so6328539ljd.3 for ; Fri, 03 May 2019 16:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OK5m9Cm+xqBfZ44Cyga28760Sdb3iwEFSEr+ygWKg7U=; b=rL7RJVIBUhs2AdbiNVGZze5zull8Coo79gMzUTRL0lVRRctqV9jVwk7mRRs9VOqS3a HXadrXXdgMPedF6sp0tKj7qTlTEViTsjxYN5qGHwYEXm8meeHKh7OR6qJC3IRvARgMkK xrNDAOU0p4PRNlPEHQz+brbgXbZF8fmB6UOhQpC7XyqjhVX8nPvIw58cNvwNd7rvdYuA ZtRe++8hA96PFbYGyXMOr/mQ9AOneu696yVU0SRl1tJuX6D59DS856+KBVr5hgWXFwko qjnxJRbtUT8v0mr/C1qw28ALIOdwRfkmLAkdByBJm5VF7mm4Lsugdv7GlfNP7c9YeGp1 KlJg== 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=OK5m9Cm+xqBfZ44Cyga28760Sdb3iwEFSEr+ygWKg7U=; b=uPBaSpFg5f0gT+qL40FtFWTEO2SWs4v7v1DLstE+lJVPfUz8Wf6WN0glnZGR5KoNOd DpgYrR3tDjBQ/gM3xjE/8Du19RkHAQq6dJ2rkDyWoBMH1Ms914rSOiR1965r0Bnk2/+y UqywjKv2QFGPllnkjMRdX9sLCaxI98ZKSVJpMsxkK658N6VKhzsnR/3yqoUeF/ppOaY0 iFQkhj2kfURPNvXWEkchSQBDme8EToVdjyuxFlUxzCh2kZZzcUa2upnfvGLnC93bnWTN 6WDh7iivOd0qIHTX+oIkGVDNF0AynqZg3qAheBa/xW9SJqbGz5EDiZmpG0FZ80/HFNhI uC7Q== X-Gm-Message-State: APjAAAW0QWBinPp188NKtXguHpPs09WyrkX6rOGSr9sLjUWKQ+4RFWVF UPlBOAARLat495za5Ya60v4axg== X-Received: by 2002:a05:651c:111:: with SMTP id a17mr6341289ljb.195.1556925634581; Fri, 03 May 2019 16:20:34 -0700 (PDT) Received: from localhost.localdomain (c-d2cd225c.014-348-6c756e10.bbcust.telenor.se. [92.34.205.210]) by smtp.gmail.com with ESMTPSA id t8sm622511ljc.25.2019.05.03.16.20.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2019 16:20:33 -0700 (PDT) From: Linus Walleij To: Mark Brown , linux-spi@vger.kernel.org, Fabio Estevam Cc: linux-gpio@vger.kernel.org, Bartosz Golaszewski , Linus Walleij , Stephen Rothwell Subject: [PATCH] spi: ep93xx: Drop unused variable Date: Sat, 4 May 2019 01:18:29 +0200 Message-Id: <20190503231829.4112-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org My previous patch leaves a dangling variable in the driver. get rid of it. Fixes: 06a391b1621e ("spi: ep93xx: Convert to use CS GPIO descriptors") Reported-by: Stephen Rothwell Signed-off-by: Linus Walleij --- drivers/spi/spi-ep93xx.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index 47e39251bad9..81889389280b 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c @@ -651,7 +651,6 @@ static int ep93xx_spi_probe(struct platform_device *pdev) struct resource *res; int irq; int error; - int i; info = dev_get_platdata(&pdev->dev); if (!info) {