diff mbox

[1/2] spi: rspi: Remove unused variable in rspi_rz_transfer_one()

Message ID 1402054723-30682-2-git-send-email-geert+renesas@glider.be (mailing list archive)
State Accepted
Commit 95029a00886f0c8d79e700cb8983b881c75af0f1
Headers show

Commit Message

Geert Uytterhoeven June 6, 2014, 11:38 a.m. UTC
Introduced by commit 8b983e90ea1a3dd82070f96c062ad521a06b7cc0 ("spi: rspi:
Extract rspi_common_transfer()"), which removed its users.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/spi/spi-rspi.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

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);