summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-15 14:06:37 +0800
committerJason Liu <r64343@freescale.com>2013-10-30 09:56:07 +0800
commit63a7c3875783b0697a8b1e0b9c2cb30d7569f37d (patch)
tree08d04ac2d727c298d4cca7b4339bbb14e978d5cf /drivers/spi
parentb9e15edeb5c0fcdfd5a86e015fd8990bdc5f4f7e (diff)
spi: bitbang: Remove unused tmp variable
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'drivers/spi')
-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;