提交 840e9c35 编写于 作者: M Mark Brown

spi: Remove unused variable

Reported-by: kbuild test robot
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册