Commit 74fa750e authored by Linus Walleij's avatar Linus Walleij Committed by Mark Brown

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: 101a68e7 ("spi: davinci: Convert to use CS GPIO descriptors")
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4f0a0cd5
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment