From: Linus Walleij Date: Fri, 3 May 2019 23:18:29 +0000 (+0200) Subject: spi: ep93xx: Drop unused variable X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e29eaa3c4b76d4dd46d7a92018de1ab2793794e1;p=linux.git 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 Signed-off-by: Linus Walleij Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index 47e39251bad9d..81889389280bc 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) {