From: Fabio Estevam Date: Mon, 2 Jun 2014 17:12:36 +0000 (+0100) Subject: ARM: 8068/1: scoop: Remove unused variable X-Git-Tag: v3.16-rc3~1^2~10 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6aab4c2941a7f9438d343d31e2837aa77edd71aa;p=linux-block.git ARM: 8068/1: scoop: Remove unused variable 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 Signed-off-by: Russell King --- diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c index 6ef146edd0cd..a20fa80776d3 100644 --- a/arch/arm/common/scoop.c +++ b/arch/arm/common/scoop.c @@ -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;