From patchwork Thu Jan 10 11:48:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 155133 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1799124jaa; Thu, 10 Jan 2019 03:48:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN5wEqnfNclAD0wWuq9CO710lZgCrf7Ey/MjDG6NysLH1W6ddMOZYQLYoxfgQYx7MiMYnm66 X-Received: by 2002:a63:304:: with SMTP id 4mr8331719pgd.99.1547120928527; Thu, 10 Jan 2019 03:48:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547120928; cv=none; d=google.com; s=arc-20160816; b=xekld/mHx50s49g8748i+1OTOW5bBPug32X8ih4BekohTd1efFGMAKST7YlW18wb/E b7HAwRLBfGRX9n0CMJ1sXGzDC8Tr2OylUhWh2GPPNiqAVhJSCxOBbzO0aK0HsQiy2lBX xquF9ei4Ypn9PpHAsKCgan59NpnwnA2td2zKnxejBK78wrmfJOsBWQLDrVWf8OzKAZk0 N2M1GzgafjumPQWrhro2hPdztKvY9PkTZSHlSS7dhGAQFDqaQQmg145+xAF7Sg23fxNV ypqXMv5w3av3rRPUydZbqF++SMdQTwnpi+FcvgQE0xy0epKs8fWOicDuoLzTHLShdn/v fVpQ== 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=ZCptM2hVnIOqzXJilJcZfu3XUYFCLQAwYB6kh53zFMM=; b=Tn45eXMH9tOPuXMPEne6+KG/u8VBBbUpjMyFLZGlp6wPTgOH3gkHen0MpuK3hf4YkO T9GDJD8uYnZZBPZ+KlUfbTUAXgmVnl7qRT7r/Ztv6WoFBlD6kjehQTnUn+TraAY3X3H/ hTGIIZuMWygUClv62+KpzBitPycpzAF80DbguqLQDNI2LYxrdULgFuVsTdy0RU5mOXOj a12fkk49XdRTL2BuMfdejQXj4/CeB7Es70VmydvAKSP8nYIIn5OYFJDuAUhPP/M9Hndn kUQvVZr1NoiPv5jy+f7YwCUEFxLZmO+QaKsyXrHsgUKhrUMyLdNkEN9/2D8PNgP8J5R0 moOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="E1vX/tBg"; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 l66si28820928pga.151.2019.01.10.03.48.48; Thu, 10 Jan 2019 03:48:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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="E1vX/tBg"; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 S1728568AbfAJLsr (ORCPT + 5 others); Thu, 10 Jan 2019 06:48:47 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:32946 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728484AbfAJLsr (ORCPT ); Thu, 10 Jan 2019 06:48:47 -0500 Received: by mail-lj1-f195.google.com with SMTP id v1-v6so9448681ljd.0 for ; Thu, 10 Jan 2019 03:48:46 -0800 (PST) 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=ZCptM2hVnIOqzXJilJcZfu3XUYFCLQAwYB6kh53zFMM=; b=E1vX/tBg9WEEnzSdnNixcHRwqg1Ty6xkXA7riVG7BSPCIz2tttHNJ0DrWB0AnfH/rl uLTzza1fhW72abC240GOIFurz1DUbRz0fEXNpK5UboxADrhWXojxyikperk9R7n0tLI0 Lhu44H94danb3fE92aNccdl49Ej8RaXrHO2LM= 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=ZCptM2hVnIOqzXJilJcZfu3XUYFCLQAwYB6kh53zFMM=; b=No2AuckrLrWnGlp+orUZ3/P5x71u/NZro2OADBy1aLWkJl1gCXhzsCkXxSyi1UYMOA iMHr0TVvJZd1iJOvJgMzPhfvRt+pkoWJUyxbKOw2a/lidYicv/SuGZDiZsU5Y+NML1pM f2YgLJs2eMgFCLuMVAdDWJx5fHcPLnQKcu7x6IN85iXSAF83DhNRYUxskRVX61XR5XGx KW16wdAwkVSN3VBo+b5u1tuTTrSEMNyY8U+3mcvjW5icz35JxxuHDgPEcRWyXFelPXWF +T9+rWqP8oUfw5Nmz3CsE9CVkXr0jo1aU2hVLy6utebjR0ZIhFjeSOVWfHYuIFSvaox1 uEyA== X-Gm-Message-State: AJcUukcMi0aEfpPd7aIfiU5fJ0wM77J2LzPFlIZqBK8rGxNTx0u3zfyU TV+qUED7Dr/HZI6arpM9SFTlnw== X-Received: by 2002:a2e:9f56:: with SMTP id v22-v6mr5647406ljk.114.1547120925604; Thu, 10 Jan 2019 03:48:45 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id m63-v6sm16869451lje.81.2019.01.10.03.48.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 03:48:44 -0800 (PST) From: Linus Walleij To: Mark Brown , linux-spi@vger.kernel.org Cc: linux-gpio@vger.kernel.org, Bartosz Golaszewski , linuxarm@huawei.com, Linus Walleij , Stephen Rothwell , David Lechner Subject: [PATCH] spi: davinci: Get rid of dangling variable Date: Thu, 10 Jan 2019 12:48:42 +0100 Message-Id: <20190110114842.12530-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The previous commit left a variable unused, my bad. Clean it up. Cc: Stephen Rothwell Cc: David Lechner Reported-by: Stephen Rothwell Fixes: 101a68e74fe0 ("spi: davinci: Convert to use CS GPIO descriptors") Signed-off-by: Linus Walleij --- drivers/spi/spi-davinci.c | 1 - 1 file changed, 1 deletion(-) -- 2.19.2 diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c index 5870afe3845b..eb246ebcfa3a 100644 --- a/drivers/spi/spi-davinci.c +++ b/drivers/spi/spi-davinci.c @@ -423,7 +423,6 @@ static int davinci_spi_of_setup(struct spi_device *spi) static int davinci_spi_setup(struct spi_device *spi) { struct davinci_spi *dspi; - struct spi_master *master = spi->master; struct device_node *np = spi->dev.of_node; bool internal_cs = true;