summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-05-04 02:18:29 +0300
committerMark Brown <broonie@kernel.org>2019-05-08 11:37:43 +0300
commite29eaa3c4b76d4dd46d7a92018de1ab2793794e1 (patch)
tree21f985a4d3f4d67ec3257113d927d5df116bf7c7 /drivers/spi
parent2e5f081003f033d37be3faf052aaccc8b6a44aa5 (diff)
downloadlinux-e29eaa3c4b76d4dd46d7a92018de1ab2793794e1.tar.xz
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/spi')
-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) {