aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-03-11 19:13:41 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-12 15:14:44 -0400
commit52f83bbd65c1178ac989e511943ecd6e0c5f8ad8 (patch)
treef87fadadc404adf7ae11fb60e387a5cba9161318 /drivers/spi
parentc3db2b0b14b487430083209c040acc672a4945c4 (diff)
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-bcm63xx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c
index 13806e31ece0..04c460e8bd27 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,
151 151
152static int bcm63xx_spi_setup(struct spi_device *spi) 152static int bcm63xx_spi_setup(struct spi_device *spi)
153{ 153{
154 struct bcm63xx_spi *bs;
155
156 bs = spi_master_get_devdata(spi->master);
157
158 if (!spi->bits_per_word) 154 if (!spi->bits_per_word)
159 spi->bits_per_word = 8; 155 spi->bits_per_word = 8;
160 156