Commit 2e29db40 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

spi: bitbang: Remove unused tmp variable

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 30af9b55
...@@ -276,7 +276,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master, ...@@ -276,7 +276,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master,
struct spi_bitbang *bitbang; struct spi_bitbang *bitbang;
unsigned nsecs; unsigned nsecs;
struct spi_transfer *t = NULL; struct spi_transfer *t = NULL;
unsigned tmp;
unsigned cs_change; unsigned cs_change;
int status; int status;
int do_setup = -1; int do_setup = -1;
...@@ -290,7 +289,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master, ...@@ -290,7 +289,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master,
*/ */
nsecs = 100; nsecs = 100;
tmp = 0;
cs_change = 1; cs_change = 1;
status = 0; status = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment