summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bcm63xx.c
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-03-12 03:13:41 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-12 23:14:44 +0400
commit52f83bbd65c1178ac989e511943ecd6e0c5f8ad8 (patch)
treef87fadadc404adf7ae11fb60e387a5cba9161318 /drivers/spi/spi-bcm63xx.c
parentc3db2b0b14b487430083209c040acc672a4945c4 (diff)
downloadlinux-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>
Diffstat (limited to 'drivers/spi/spi-bcm63xx.c')
-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,
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;