spi: rspi: Remove unused variable in rspi_rz_transfer_one()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 6 Jun 2014 11:38:42 +0000 (13:38 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:26 +0000 (11:15 +0100)
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>
(cherry picked from commit 95029a00886f0c8d79e700cb8983b881c75af0f1)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/spi/spi-rspi.c

index 1011274..ddee9df 100644 (file)
@@ -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);