From patchwork Sat Sep 17 13:42:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 9337091 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C0DA760839 for ; Sat, 17 Sep 2016 13:44:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E8E52968D for ; Sat, 17 Sep 2016 13:44:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FA7329690; Sat, 17 Sep 2016 13:44:42 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 0445D2968D for ; Sat, 17 Sep 2016 13:44:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751258AbcIQNol (ORCPT ); Sat, 17 Sep 2016 09:44:41 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35232 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751134AbcIQNok (ORCPT ); Sat, 17 Sep 2016 09:44:40 -0400 Received: by mail-wm0-f67.google.com with SMTP id 133so7757970wmq.2 for ; Sat, 17 Sep 2016 06:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=0YHRhi/13+7a83d6oQJ3c58frW/JpYT8cCqT59Bzzfk=; b=qrVqQYRn0coju/ZSTOVlt6AzJPJXwL3VxnkxiBmHN+xnSAPcsrOFY+tWlkNZaIXgyu 6p9AzN2xDGRVku4Mdq1QcXjVsxUYvFRDUb6k5H/8GVdQVKcEnd5ezsYr/EFtKNuIuMYW zEkjGjZhwJGYCJ3ihmgB1YPCGMRMnZvUfcqXJNZYP/FheuaumvbX9BKkFu2oVBq+/jSH pEoVUExb0J18PuLC4aEhCRycNzS1i14G4LOxaX3yQfRwNuFZiLo07209rHMKchPlw5kv iMUNYaH84tXx+V9leIIVIHhLyjiqxANLzSFFAKGm4uAByA8gfP86G51fmcMCmKSRo5jU /agQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=0YHRhi/13+7a83d6oQJ3c58frW/JpYT8cCqT59Bzzfk=; b=AZ/E4nnQGhnWpUg1qyXaBGULS4Qf7GWbVReE/GxxOHRllMBk8wzCDJI2l/MKcBosez nO4KVAbJ5PEcmbOLl0LSurXX+JSwDfDMI5LI7Nj0pov2KYdSJnhyctBWunqDM2lpvbBS W5sPluXAHotI3+WORO/8ntf1WyE+Gf13uly67aoxrPXFXgLrFrRwS5bBpVQcxLeecHog rdbTV+IUvJrBSH6xk0S7ADrkmKgN+Q+3SuGHACTzftso5iMeWSD2qGU/sV0tu8JKaG8B DvBFR5m//Vq++ZE/ZNy4LvpLGDKpu0oZvTJJt793jukoQTxckl950Nn5hHlAaJe8qkFO CzMA== X-Gm-Message-State: AE9vXwPt3IJ/cBuxQT44XLD4+RzKPhzIdVm3F2ozS7GBE6mEet95v776jaq6AdcdqF7eew== X-Received: by 10.194.89.129 with SMTP id bo1mr16168714wjb.105.1474119878703; Sat, 17 Sep 2016 06:44:38 -0700 (PDT) Received: from ?IPv6:2003:62:5f43:9500:d960:ef7d:7c83:fc91? (p200300625F439500D960EF7D7C83FC91.dip0.t-ipconnect.de. [2003:62:5f43:9500:d960:ef7d:7c83:fc91]) by smtp.googlemail.com with ESMTPSA id bk7sm13270180wjc.36.2016.09.17.06.44.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Sep 2016 06:44:38 -0700 (PDT) From: Heiner Kallweit Subject: [PATCH 1/4] spi: fsl-espi: remove unused variable in fsl_espi_setup To: Mark Brown References: <1d67ce99-42ea-c816-da35-e64575cca8ff@web.de> Cc: "linux-spi@vger.kernel.org" Message-ID: Date: Sat, 17 Sep 2016 15:42:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1d67ce99-42ea-c816-da35-e64575cca8ff@web.de> 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 Remove an unused variable. Signed-off-by: Heiner Kallweit --- drivers/spi/spi-fsl-espi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/spi-fsl-espi.c b/drivers/spi/spi-fsl-espi.c index a7984ae..4f9d9ec 100644 --- a/drivers/spi/spi-fsl-espi.c +++ b/drivers/spi/spi-fsl-espi.c @@ -361,7 +361,6 @@ out: static int fsl_espi_setup(struct spi_device *spi) { struct mpc8xxx_spi *mpc8xxx_spi; - u32 hw_mode; u32 loop_mode; struct spi_mpc8xxx_cs *cs = spi_get_ctldata(spi); @@ -379,7 +378,6 @@ static int fsl_espi_setup(struct spi_device *spi) pm_runtime_get_sync(mpc8xxx_spi->dev); - hw_mode = cs->hw_mode; /* Save original settings */ cs->hw_mode = fsl_espi_read_reg(mpc8xxx_spi, ESPI_SPMODEx(spi->chip_select)); /* mask out bits we are going to set */