From 2e29db400c4898ff72e2ea87d262921df00f1c87 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Thu, 15 Aug 2013 14:06:37 +0800 Subject: spi: bitbang: Remove unused tmp variable Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- drivers/spi/spi-bitbang.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/spi') diff --git a/drivers/spi/spi-bitbang.c b/drivers/spi/spi-bitbang.c index dd2e5d7332f8..e3946e44e076 100644 --- a/drivers/spi/spi-bitbang.c +++ b/drivers/spi/spi-bitbang.c @@ -276,7 +276,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master, struct spi_bitbang *bitbang; unsigned nsecs; struct spi_transfer *t = NULL; - unsigned tmp; unsigned cs_change; int status; int do_setup = -1; @@ -290,7 +289,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master, */ nsecs = 100; - tmp = 0; cs_change = 1; status = 0; -- cgit v1.2.3