From: Mark Brown Date: Sat, 21 Jun 2014 10:40:40 +0000 (+0100) Subject: spi: Remove unused variable X-Git-Tag: firefly_0821_release~176^2~3482^2~4^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=840e9c354f3492259a65ae235351cde1089a409e;p=firefly-linux-kernel-4.4.55.git spi: Remove unused variable Reported-by: kbuild test robot Signed-off-by: Mark Brown --- 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;