diff options
author | Axel Lin | 2013-08-15 14:06:37 +0800 |
---|---|---|
committer | Mark Brown | 2013-08-15 10:52:24 +0100 |
commit | 2e29db400c4898ff72e2ea87d262921df00f1c87 (patch) | |
tree | 743a446671ca1384cd58f13bb72ef00338c72d37 /drivers/spi | |
parent | 30af9b558a56200bda5febd140d5b826581d1f15 (diff) |
spi: bitbang: Remove unused tmp variable
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-bitbang.c | 2 |
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; |