forked from Minki/linux
spi: Remove unused variable
Reported-by: kbuild test robot Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
8331acb3a5
commit
840e9c354f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user