From: Oussama Ghorbel Date: Mon, 14 Apr 2014 16:49:30 +0000 (+0100) Subject: ARM: OMAP2+: free use_gptimer_clksrc variable after boot X-Git-Tag: next-20140530~119^2~27^2^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=332f19317e50bf9bb7eff16b98403ef11ee25751;p=karo-tx-linux.git 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index b62de9f9d05c..842b81f31957 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c @@ -361,7 +361,7 @@ static void __init omap2_gp_clockevent_init(int gptimer_id, /* Clocksource code */ static struct omap_dm_timer clksrc; -static bool use_gptimer_clksrc; +static bool use_gptimer_clksrc __initdata; /* * clocksource