summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bitbang.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-bitbang.c')
-rw-r--r--drivers/spi/spi-bitbang.c2
1 files changed, 0 insertions, 2 deletions
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;