projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/drivers/spi/spi-bitbang.c
b/drivers/spi/spi-bitbang.c
index dd2e5d7332f82507ef6d49b6306e44bf392e4619..e3946e44e076e2aaf5bd0e7813554f65a9062745 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;