summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-rspi.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-06-06 13:38:42 +0200
committerMark Brown <broonie@linaro.org>2014-07-07 12:55:20 +0200
commit95029a00886f0c8d79e700cb8983b881c75af0f1 (patch)
treedfc535870a6376e1c3c687a2b4545bb6099591d7 /drivers/spi/spi-rspi.c
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlwn-95029a00886f0c8d79e700cb8983b881c75af0f1.tar.gz
lwn-95029a00886f0c8d79e700cb8983b881c75af0f1.zip
spi: rspi: Remove unused variable in rspi_rz_transfer_one()
Introduced by commit 8b983e90ea1a3dd82070f96c062ad521a06b7cc0 ("spi: rspi: Extract rspi_common_transfer()"), which removed its users. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-rspi.c')
-rw-r--r--drivers/spi/spi-rspi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-rspi.c b/drivers/spi/spi-rspi.c
index 10112745bb17..ddee9df1547d 100644
--- a/drivers/spi/spi-rspi.c
+++ b/drivers/spi/spi-rspi.c
@@ -630,7 +630,6 @@ static int rspi_rz_transfer_one(struct spi_master *master,
struct spi_transfer *xfer)
{
struct rspi_data *rspi = spi_master_get_devdata(master);
- int ret;
rspi_rz_receive_init(rspi);