spi: ep93xx: Drop unused variable
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 3 May 2019 23:18:29 +0000 (01:18 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 8 May 2019 08:37:43 +0000 (17:37 +0900)
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>
drivers/spi/spi-ep93xx.c

index 47e39251bad9dd22e3f21bc79dc428e458e72393..81889389280bcbf981b9ee174e14ff393f897646 100644 (file)
@@ -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) {