OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30af9b5
)
spi: bitbang: Remove unused tmp variable
author
Axel Lin
<axel.lin@ingics.com>
Thu, 15 Aug 2013 06:06:37 +0000
(14:06 +0800)
committer
Mark Brown
<broonie@linaro.org>
Thu, 15 Aug 2013 09:52:24 +0000
(10:52 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bitbang.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-bitbang.c
b/drivers/spi/spi-bitbang.c
index
dd2e5d7
..
e3946e4
100644
(file)
--- 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;