summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-05-04 01:18:29 +0200
committerMark Brown <broonie@kernel.org>2019-05-08 17:37:43 +0900
commite29eaa3c4b76d4dd46d7a92018de1ab2793794e1 (patch)
tree21f985a4d3f4d67ec3257113d927d5df116bf7c7 /drivers
parent2e5f081003f033d37be3faf052aaccc8b6a44aa5 (diff)
downloadlinux-e29eaa3c4b76d4dd46d7a92018de1ab2793794e1.tar.bz2
spi: ep93xx: Drop unused variable
My previous patch leaves a dangling variable in the driver. get rid of it. Fixes: 06a391b1621e ("spi: ep93xx: Convert to use CS GPIO descriptors") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi-ep93xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c
index 47e39251bad9..81889389280b 100644
--- a/drivers/spi/spi-ep93xx.c
+++ b/drivers/spi/spi-ep93xx.c
@@ -651,7 +651,6 @@ static int ep93xx_spi_probe(struct platform_device *pdev)
struct resource *res;
int irq;
int error;
- int i;
info = dev_get_platdata(&pdev->dev);
if (!info) {