diff options
author | Aaro Koskinen <aaro.koskinen@nokia.com> | 2010-11-18 12:59:51 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-11-24 19:49:42 -0500 |
commit | 2862945bf5262d516583477ce420a2f122306f43 (patch) | |
tree | 168c29c875c839b84a25b0ff104a7b3bdf8438fb /arch/arm/mach-omap2 | |
parent | 7489ffcea62e0b990d3557746d19a47e83e07042 (diff) |
arm: omap2: timer-gp: delete unused variable
Delete a redundant local variable.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/timer-gp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c index e13c29eecf2b..f9052e1c6936 100644 --- a/arch/arm/mach-omap2/timer-gp.c +++ b/arch/arm/mach-omap2/timer-gp.c | |||
@@ -203,7 +203,7 @@ static struct clocksource clocksource_gpt = { | |||
203 | static void __init omap2_gp_clocksource_init(void) | 203 | static void __init omap2_gp_clocksource_init(void) |
204 | { | 204 | { |
205 | static struct omap_dm_timer *gpt; | 205 | static struct omap_dm_timer *gpt; |
206 | u32 tick_rate, tick_period; | 206 | u32 tick_rate; |
207 | static char err1[] __initdata = KERN_ERR | 207 | static char err1[] __initdata = KERN_ERR |
208 | "%s: failed to request dm-timer\n"; | 208 | "%s: failed to request dm-timer\n"; |
209 | static char err2[] __initdata = KERN_ERR | 209 | static char err2[] __initdata = KERN_ERR |
@@ -216,7 +216,6 @@ static void __init omap2_gp_clocksource_init(void) | |||
216 | 216 | ||
217 | omap_dm_timer_set_source(gpt, OMAP_TIMER_SRC_SYS_CLK); | 217 | omap_dm_timer_set_source(gpt, OMAP_TIMER_SRC_SYS_CLK); |
218 | tick_rate = clk_get_rate(omap_dm_timer_get_fclk(gpt)); | 218 | tick_rate = clk_get_rate(omap_dm_timer_get_fclk(gpt)); |
219 | tick_period = (tick_rate / HZ) - 1; | ||
220 | 219 | ||
221 | omap_dm_timer_set_load_start(gpt, 1, 0); | 220 | omap_dm_timer_set_load_start(gpt, 1, 0); |
222 | 221 | ||