summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-01-10 12:48:42 +0100
committerMark Brown <broonie@kernel.org>2019-01-10 11:54:13 +0000
commit74fa750e63a9b962583213d161a79991188c6ec8 (patch)
tree6ff17596aadd7dab346a7024b4e2c58b42b9e32b
parent4f0a0cd52d6c812fbf737e436b18f04eac2e312e (diff)
spi: davinci: Get rid of dangling variable
The previous commit left a variable unused, my bad. Clean it up. Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: David Lechner <david@lechnology.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: 101a68e74fe0 ("spi: davinci: Convert to use CS GPIO descriptors") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/spi/spi-davinci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c
index 5870afe3845b..eb246ebcfa3a 100644
--- a/drivers/spi/spi-davinci.c
+++ b/drivers/spi/spi-davinci.c
@@ -423,7 +423,6 @@ static int davinci_spi_of_setup(struct spi_device *spi)
static int davinci_spi_setup(struct spi_device *spi)
{
struct davinci_spi *dspi;
- struct spi_master *master = spi->master;
struct device_node *np = spi->dev.of_node;
bool internal_cs = true;