summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-06-21 12:40:40 +0200
committerMark Brown <broonie@linaro.org>2014-06-21 12:40:40 +0200
commit840e9c354f3492259a65ae235351cde1089a409e (patch)
tree537b1ae190cfba66e35fb60cba13e3239485fe1e /drivers/spi/spi.c
parentspi: Remove redundant OOM message in spi.c (diff)
downloadlinux-840e9c354f3492259a65ae235351cde1089a409e.tar.xz
linux-840e9c354f3492259a65ae235351cde1089a409e.zip
spi: Remove unused variable
Reported-by: kbuild test robot Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi.c')
-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 8bbbba5b6236..cbfb250af5aa 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -345,7 +345,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;