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: 10755597 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 1B5C113B5 for ; Thu, 10 Jan 2019 11:48:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05DFA2818E for ; Thu, 10 Jan 2019 11:48:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9D1028BBF; Thu, 10 Jan 2019 11:48:48 +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 5794E2818E for ; Thu, 10 Jan 2019 11:48:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728484AbfAJLss (ORCPT ); Thu, 10 Jan 2019 06:48:48 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42882 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728567AbfAJLsr (ORCPT ); Thu, 10 Jan 2019 06:48:47 -0500 Received: by mail-lj1-f193.google.com with SMTP id l15-v6so9404821lja.9 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=MTmmessMBqUr1SX8tXD3vCws7ZICIeYJEv4heAj9e4+1ZB2p60DbM4A7A/Yv+LBB0M e4TEFFbwbQfRj0utRxKfY5bHMMtIPAXfDRt+eHnBNmAVsW70MxY/CfTIH2wJLUqBhEQQ iSIyvj5jYtgZlQM+gqms3T0Cb+jjUlFXxp297iKgt6SO8wsHpPW9YyVcHRiQ2kY5XM7Y X3tzk5ck7vMnRA4scz9i+4O+AaUhoHgmpDUXZ0s7mVsQSwNMjg4mGio6EmBvkwYaYN2i Tc2M5jiLoTcXAkwESMiXf6P4OJ5bv6qO4O/AnngZSnkLJ7P5UWg64PjSuHG3D95IO8Ql /QJg== X-Gm-Message-State: AJcUukcRnOxUmQo7mHB+cBNKUUbktnsEiJ3BoGXI/3dEwPWPoPErS0bS 70KJKTIJR+fAQkRPKVHTL4+FIw== X-Google-Smtp-Source: ALg8bN7uO98KlldV+cWb2S5wrd+nCjWCaR4p1t8x4bZ8UAui2Qvgx1kl0z93qql2CNZxafo0p0tWxw== 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-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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;