summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bitbang.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-15 10:06:37 +0400
committerMark Brown <broonie@linaro.org>2013-08-15 13:52:24 +0400
commit2e29db400c4898ff72e2ea87d262921df00f1c87 (patch)
tree743a446671ca1384cd58f13bb72ef00338c72d37 /drivers/spi/spi-bitbang.c
parent30af9b558a56200bda5febd140d5b826581d1f15 (diff)
downloadlinux-2e29db400c4898ff72e2ea87d262921df00f1c87.tar.xz
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/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;