Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6aab4c29 authored by Fabio Estevam's avatar Fabio Estevam Committed by Russell King
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7171511e
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -182,7 +182,6 @@ static int scoop_probe(struct platform_device *pdev)
	struct scoop_config *inf;
	struct scoop_config *inf;
	struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
	struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
	int ret;
	int ret;
	int temp;


	if (!mem)
	if (!mem)
		return -EINVAL;
		return -EINVAL;