diff mbox

arm: scoop: Remove unused variable

Message ID 1396962535-6249-1-git-send-email-fabio.estevam@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabio Estevam April 8, 2014, 1:08 p.m. UTC
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>
---
 arch/arm/common/scoop.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Olof Johansson May 27, 2014, 7:40 p.m. UTC | #1
On Tue, Apr 8, 2014 at 6:08 AM, Fabio Estevam
<fabio.estevam@freescale.com> wrote:
> 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>

Acked-by: Olof Johansson <olof@lixom.net>

Can you forward to Russell's patch tracker, please?


Thanks,

-Olof
diff mbox

Patch

diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c
index 6ef146e..a20fa80 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;