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>
This commit is contained in:
parent
55fde31cae
commit
332f19317e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue