Explorar o código

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 <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Fabio Estevam %!s(int64=11) %!d(string=hai) anos
pai
achega
6aab4c2941
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      arch/arm/common/scoop.c

+ 0 - 1
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;