projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55fde31
)
ARM: OMAP2+: free use_gptimer_clksrc variable after boot
author
Oussama Ghorbel
<ghorbel@pivasoftware.com>
Mon, 14 Apr 2014 16:49:30 +0000
(17:49 +0100)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 6 May 2014 00:35:03 +0000
(17:35 -0700)
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>
arch/arm/mach-omap2/timer.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/timer.c
b/arch/arm/mach-omap2/timer.c
index b62de9f9d05c1efa2bc8a88683fbcf24c25fe9db..842b81f31957c9acccc7709a5c77a184fbd986cb 100644
(file)
--- 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