Skip to content

Commit

Permalink
ARM: 8068/1: scoop: Remove unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Russell King committed Jun 17, 2014
1 parent 7171511 commit 6aab4c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/common/scoop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6aab4c2

Please sign in to comment.