]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: 8068/1: scoop: Remove unused variable
authorFabio Estevam <festevam@gmail.com>
Mon, 2 Jun 2014 17:12:36 +0000 (18:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 17 Jun 2014 13:46:55 +0000 (14:46 +0100)
Remove the 'temp' variable in order to fix the following build warning:

arch/arm/common/scoop.c:185:6: warning: unused variable 'temp' [-Wunused-variable]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/scoop.c

index 6ef146edd0cd24849757ab82026c6e33ebf9a199..a20fa80776d3d873c6ef8ef849a8ac2b214b2776 100644 (file)
@@ -182,7 +182,6 @@ static int scoop_probe(struct platform_device *pdev)
        struct scoop_config *inf;
        struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        int ret;
-       int temp;
 
        if (!mem)
                return -EINVAL;