diff options
author | Mark Brown <broonie@linaro.org> | 2014-06-21 06:40:40 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-21 06:40:40 -0400 |
commit | 840e9c354f3492259a65ae235351cde1089a409e (patch) | |
tree | 537b1ae190cfba66e35fb60cba13e3239485fe1e | |
parent | 8331acb3a5515c01a1b73424a56f44c50ad7f1b4 (diff) |
spi: Remove unused variable
Reported-by: kbuild test robot
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi.c | 1 |
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); | |||
345 | struct spi_device *spi_alloc_device(struct spi_master *master) | 345 | struct spi_device *spi_alloc_device(struct spi_master *master) |
346 | { | 346 | { |
347 | struct spi_device *spi; | 347 | struct spi_device *spi; |
348 | struct device *dev = master->dev.parent; | ||
349 | 348 | ||
350 | if (!spi_master_get(master)) | 349 | if (!spi_master_get(master)) |
351 | return NULL; | 350 | return NULL; |