Browse Source

spi: Remove unused variable

Reported-by: kbuild test robot
Signed-off-by: Mark Brown <broonie@linaro.org>
Mark Brown 11 năm trước cách đây
mục cha
commit
840e9c354f
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/spi/spi.c

+ 0 - 1
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;