summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-06-21 11:40:40 +0100
committerNitin Garg <nitin.garg@freescale.com>2015-04-14 14:01:30 -0500
commitd1404e8e153c49d9c211a2fd6f0b2b2469c6c8d2 (patch)
treef7eeaadb2045787e32dbbc1e614a3c708c477640 /drivers/spi
parent58daee1ddf0a4531f5e63417e4cec6d8eb10d62b (diff)
spi: Remove unused variable
Reported-by: kbuild test robot Signed-off-by: Mark Brown <broonie@linaro.org> (cherry picked from commit 840e9c354f3492259a65ae235351cde1089a409e) (cherry picked from commit df473b0daee67eae1ebc1b76c1f5c3a1358ac7c6)
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 66b61a4844f3..1c77a0051df3 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -350,7 +350,6 @@ static DEFINE_MUTEX(board_lock);
struct spi_device *spi_alloc_device(struct spi_master *master)
{
struct spi_device *spi;
- struct device *dev = master->dev.parent;
if (!spi_master_get(master))
return NULL;