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: 10929439 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6940514B6 for ; Fri, 3 May 2019 23:20:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5062B2878F for ; Fri, 3 May 2019 23:20:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4080B287E2; Fri, 3 May 2019 23:20:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 164CB2878F for ; Fri, 3 May 2019 23:20:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726150AbfECXUg (ORCPT ); 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-Google-Smtp-Source: APXvYqwLyiQb6ULEsADXURyxHy7G4e4SeR5cyeXbGeusD3xdAZrq/YN7PPbN+oebJkilhYAvmpQE7Q== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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) {