projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8331acb
)
spi: Remove unused variable
author
Mark Brown
<broonie@linaro.org>
Sat, 21 Jun 2014 10:40:40 +0000
(11:40 +0100)
committer
Mark Brown
<broonie@linaro.org>
Sat, 21 Jun 2014 10:40:40 +0000
(11:40 +0100)
Reported-by: kbuild test robot
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi.c
b/drivers/spi/spi.c
index 8bbbba5b62363fb5bb40d8b4da830e0555296ebf..cbfb250af5aa36f6bdeecca14adbe16897eb3233 100644
(file)
--- a/
drivers/spi/spi.c
+++ b/
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;