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:
c3db2b0
)
spi/bcm63xx: remove unused variable bs from bcm63xx_spi_setup
author
Jonas Gorski
<jogo@openwrt.org>
Mon, 11 Mar 2013 23:13:41 +0000
(
00:13
+0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 19:14:44 +0000
(19:14 +0000)
It is only written, but never read.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-bcm63xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-bcm63xx.c
b/drivers/spi/spi-bcm63xx.c
index 13806e31ece0387b8c21f8a7e7908d7a732de6a2..04c460e8bd27341d077908dd857bb3065a71d0fa 100644
(file)
--- a/
drivers/spi/spi-bcm63xx.c
+++ b/
drivers/spi/spi-bcm63xx.c
@@
-151,10
+151,6
@@
static void bcm63xx_spi_setup_transfer(struct spi_device *spi,
static int bcm63xx_spi_setup(struct spi_device *spi)
{
- struct bcm63xx_spi *bs;
-
- bs = spi_master_get_devdata(spi->master);
-
if (!spi->bits_per_word)
spi->bits_per_word = 8;