summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bcm63xx.c
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-03-12 00:13:41 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-12 20:14:44 +0100
commit52f83bbd65c1178ac989e511943ecd6e0c5f8ad8 (patch)
treef87fadadc404adf7ae11fb60e387a5cba9161318 /drivers/spi/spi-bcm63xx.c
parentspi/bcm63xx: remove unneeded debug message (diff)
downloadlinux-52f83bbd65c1178ac989e511943ecd6e0c5f8ad8.tar.xz
linux-52f83bbd65c1178ac989e511943ecd6e0c5f8ad8.zip
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;