浏览代码

omap1: pm_bus: Fix compilation warning

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>
Marek Belisko 14 年之前
父节点
当前提交
05f185c774
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      arch/arm/mach-omap1/pm_bus.c

+ 0 - 1
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)
 static int omap1_pm_runtime_resume(struct device *dev)
 {
 {
-	int ret = 0;
 	struct clk *iclk, *fclk;
 	struct clk *iclk, *fclk;
 
 
 	dev_dbg(dev, "%s\n", __func__);
 	dev_dbg(dev, "%s\n", __func__);