linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: "linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH 1/4] spi: fsl-espi: remove unused variable in fsl_espi_setup
Date: Sat, 17 Sep 2016 15:42:42 +0200	[thread overview]
Message-ID: <a71abf9f-4254-af63-f7eb-1579faaeada3@gmail.com> (raw)
In-Reply-To: <1d67ce99-42ea-c816-da35-e64575cca8ff-S0/GAf8tV78@public.gmane.org>

Remove an unused variable.

Signed-off-by: Heiner Kallweit <hkallweit1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 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 */
-- 
2.9.2


--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

       reply	other threads:[~2016-09-17 13:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1d67ce99-42ea-c816-da35-e64575cca8ff@web.de>
     [not found] ` <1d67ce99-42ea-c816-da35-e64575cca8ff-S0/GAf8tV78@public.gmane.org>
2016-09-17 13:42   ` Heiner Kallweit [this message]
     [not found]     ` <a71abf9f-4254-af63-f7eb-1579faaeada3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-25  5:59       ` Applied "spi: fsl-espi: remove unused variable in fsl_espi_setup" to the spi tree Mark Brown
2016-09-17 13:43   ` [PATCH 2/4] spi: fsl-espi: simplify of_fsl_espi_probe Heiner Kallweit
     [not found]     ` <5bfd3921-5bb6-b9c3-dc64-3882491bba13-S0/GAf8tV78@public.gmane.org>
2016-09-24 18:46       ` Mark Brown
2016-09-25  5:59       ` Applied "spi: fsl-espi: simplify of_fsl_espi_probe" to the spi tree Mark Brown
2016-09-17 13:43   ` [PATCH 3/4] spi: fsl-espi: improve return value handling in fsl_espi_probe Heiner Kallweit
     [not found]     ` <dc06d27a-09ed-7720-d86f-9d20134557af-S0/GAf8tV78@public.gmane.org>
2016-09-25  5:59       ` Applied "spi: fsl-espi: improve return value handling in fsl_espi_probe" to the spi tree Mark Brown
2016-09-17 13:44   ` [PATCH 4/4] spi: fsl-espi: replace of_get_property with of_property_read_u32 Heiner Kallweit
     [not found]     ` <faa8bb6f-a644-5779-6a65-a6d8394bd17f-S0/GAf8tV78@public.gmane.org>
2016-09-27  5:39       ` Heiner Kallweit
     [not found]         ` <10e52aa2-9327-8aa3-0132-74c1feefa165-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-09-27 16:19           ` Mark Brown
2016-10-01 19:07       ` [PATCH v2] " Heiner Kallweit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a71abf9f-4254-af63-f7eb-1579faaeada3@gmail.com \
    --to=hkallweit1-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).