Commit 840e9c35 authored by Mark Brown's avatar Mark Brown

spi: Remove unused variable

Reported-by: kbuild test robot
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 8331acb3
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment