spi/bcm63xx: remove unused variable bs from bcm63xx_spi_setup
authorJonas Gorski <jogo@openwrt.org>
Mon, 11 Mar 2013 23:13:41 +0000 (00:13 +0100)
committerMark 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

index 13806e31ece0387b8c21f8a7e7908d7a732de6a2..04c460e8bd27341d077908dd857bb3065a71d0fa 100644 (file)
@@ -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;