[PATCH] omap1: pm_bus: Fix compilation warning.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marek Belisko
Date: Monday, December 6, 2010 - 6:23 am

Fix following compilation warning:
arch/arm/mach-omap1/pm_bus.c: In function 'omap1_pm_runtime_resume':
arch/arm/mach-omap1/pm_bus.c:51: warning: unused variable 'ret'

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
 arch/arm/mach-omap1/pm_bus.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap1/pm_bus.c b/arch/arm/mach-omap1/pm_bus.c
index 8b66392..f97c6e9 100644
--- a/arch/arm/mach-omap1/pm_bus.c
+++ b/arch/arm/mach-omap1/pm_bus.c
@@ -48,7 +48,6 @@ static int omap1_pm_runtime_suspend(struct device *dev)
 
 static int omap1_pm_runtime_resume(struct device *dev)
 {
-	int ret = 0;
 	struct clk *iclk, *fclk;
 
 	dev_dbg(dev, "%s\n", __func__);
-- 
1.7.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] omap1: pm_bus: Fix compilation warning., Marek Belisko, (Mon Dec 6, 6:23 am)
Re: [PATCH] omap1: pm_bus: Fix compilation warning., Kevin Hilman, (Tue Dec 7, 3:23 pm)
Re: [PATCH] omap1: pm_bus: Fix compilation warning., Tony Lindgren, (Fri Dec 17, 7:05 pm)