diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2013-03-11 23:13:36 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-12 19:11:21 (GMT) |
commit | 4a25b680b1e84cf97c740c8005e2c6655d6cfa7f (patch) | |
tree | 030fd03d7ab9706458f46cf2e90832f20910f6b6 /drivers/spi | |
parent | d558c4733759e077cf449246983a5d1fe97fc434 (diff) | |
download | linux-4a25b680b1e84cf97c740c8005e2c6655d6cfa7f.tar.xz |
spi/bcm63xx: Remove unused variable
This fixes the following warning:
drivers/spi/spi-bcm63xx.c: In function 'bcm63xx_spi_setup':
drivers/spi/spi-bcm63xx.c:157:6: warning: unused variable 'ret'
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 9578af7..0415a32 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c @@ -152,7 +152,6 @@ static void bcm63xx_spi_setup_transfer(struct spi_device *spi, static int bcm63xx_spi_setup(struct spi_device *spi) { struct bcm63xx_spi *bs; - int ret; bs = spi_master_get_devdata(spi->master); |