spi: bitbang: Remove unused tmp variable
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
diff --git a/drivers/spi/spi-bitbang.c b/drivers/spi/spi-bitbang.c
index dd2e5d7..e3946e4 100644
--- a/drivers/spi/spi-bitbang.c
+++ b/drivers/spi/spi-bitbang.c
@@ -276,7 +276,6 @@
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 @@
*/
nsecs = 100;
- tmp = 0;
cs_change = 1;
status = 0;