summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2013-03-12 00:13:36 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-12 19:11:21 +0000
commit4a25b680b1e84cf97c740c8005e2c6655d6cfa7f (patch)
tree030fd03d7ab9706458f46cf2e90832f20910f6b6 /drivers/spi
parentd558c4733759e077cf449246983a5d1fe97fc434 (diff)
downloadop-kernel-dev-4a25b680b1e84cf97c740c8005e2c6655d6cfa7f.zip
op-kernel-dev-4a25b680b1e84cf97c740c8005e2c6655d6cfa7f.tar.gz
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.c1
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);
OpenPOWER on IntegriCloud