diff options
Diffstat (limited to 'arch/mips/tx4938/common/setup.c')
-rw-r--r-- | arch/mips/tx4938/common/setup.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/tx4938/common/setup.c b/arch/mips/tx4938/common/setup.c index dc87d92bb08d..142abf453e40 100644 --- a/arch/mips/tx4938/common/setup.c +++ b/arch/mips/tx4938/common/setup.c | |||
@@ -55,14 +55,5 @@ tx4938_time_init(void) | |||
55 | 55 | ||
56 | void __init plat_timer_setup(struct irqaction *irq) | 56 | void __init plat_timer_setup(struct irqaction *irq) |
57 | { | 57 | { |
58 | u32 count; | ||
59 | u32 c1; | ||
60 | u32 c2; | ||
61 | |||
62 | setup_irq(TX4938_IRQ_CPU_TIMER, irq); | 58 | setup_irq(TX4938_IRQ_CPU_TIMER, irq); |
63 | |||
64 | c1 = read_c0_count(); | ||
65 | count = c1 + (mips_hpt_frequency / HZ); | ||
66 | write_c0_compare(count); | ||
67 | c2 = read_c0_count(); | ||
68 | } | 59 | } |