Skip to content

Commit

Permalink
spi: Remove unused variable
Browse files Browse the repository at this point in the history
Reported-by: kbuild test robot
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Mark Brown committed Jun 21, 2014
1 parent 8331acb commit 840e9c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 840e9c3

Please sign in to comment.