omap1: pm_bus: Fix compilation warning
authorMarek Belisko <marek.belisko@open-nandra.com>
Mon, 6 Dec 2010 13:23:48 +0000 (13:23 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Dec 2010 01:53:04 +0000 (17:53 -0800)
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>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/pm_bus.c

index 326644770ea80eef021fc97abc6fe8eda9b8b69d..6588c22b8a64116dd11004001e2682aa14fe423e 100644 (file)
@@ -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__);