diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-03-11 23:13:41 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-12 19:14:44 (GMT) |
commit | 52f83bbd65c1178ac989e511943ecd6e0c5f8ad8 (patch) | |
tree | f87fadadc404adf7ae11fb60e387a5cba9161318 | |
parent | c3db2b0b14b487430083209c040acc672a4945c4 (diff) | |
download | linux-52f83bbd65c1178ac989e511943ecd6e0c5f8ad8.tar.xz |
spi/bcm63xx: remove unused variable bs from bcm63xx_spi_setup
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>
-rw-r--r-- | drivers/spi/spi-bcm63xx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 13806e3..04c460e 100644 --- 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; |