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>
This commit is contained in:
Jonas Gorski 2013-03-12 00:13:41 +01:00 committed by Mark Brown
parent c3db2b0b14
commit 52f83bbd65
1 changed files with 0 additions and 4 deletions

View File

@ -151,10 +151,6 @@ static void bcm63xx_spi_setup_transfer(struct spi_device *spi,
static int bcm63xx_spi_setup(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) if (!spi->bits_per_word)
spi->bits_per_word = 8; spi->bits_per_word = 8;