瀏覽代碼

ARM: OMAP2+: free use_gptimer_clksrc variable after boot

The variable use_gptimer_clksrc is only used by two __init functions,
So we can freely free it after boot.

Signed-off-by: Oussama Ghorbel <ghorbel@pivasoftware.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Oussama Ghorbel 11 年之前
父節點
當前提交
332f19317e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/mach-omap2/timer.c

+ 1 - 1
arch/arm/mach-omap2/timer.c

@@ -361,7 +361,7 @@ static void __init omap2_gp_clockevent_init(int gptimer_id,
 
 
 /* Clocksource code */
 /* Clocksource code */
 static struct omap_dm_timer clksrc;
 static struct omap_dm_timer clksrc;
-static bool use_gptimer_clksrc;
+static bool use_gptimer_clksrc __initdata;
 
 
 /*
 /*
  * clocksource
  * clocksource