projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dbfb5
)
spi: fsl-espi: Remove unused bits_per_word variable in fsl_espi_bufs
author
Axel Lin
<axel.lin@ingics.com>
Fri, 21 Mar 2014 14:59:58 +0000
(22:59 +0800)
committer
Mark Brown
<broonie@linaro.org>
Fri, 21 Mar 2014 18:21:17 +0000
(18:21 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-fsl-espi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-fsl-espi.c
b/drivers/spi/spi-fsl-espi.c
index 428dc7a6b62e7c173fb9a1dd8b9028ab9ded01b3..6fb2b75df821e78f80a0f6c1bf4c64e45e4292d5 100644
(file)
--- a/
drivers/spi/spi-fsl-espi.c
+++ b/
drivers/spi/spi-fsl-espi.c
@@
-219,13
+219,8
@@
static int fsl_espi_bufs(struct spi_device *spi, struct spi_transfer *t)
struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(spi->master);
struct fsl_espi_reg *reg_base = mpc8xxx_spi->reg_base;
unsigned int len = t->len;
- u8 bits_per_word;
int ret;
- bits_per_word = spi->bits_per_word;
- if (t->bits_per_word)
- bits_per_word = t->bits_per_word;
-
mpc8xxx_spi->len = t->len;
len = roundup(len, 4) / 4;