diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/time.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-pxa/time.c b/arch/arm/mach-pxa/time.c index 5248abe334d2..6f91fd2d061a 100644 --- a/arch/arm/mach-pxa/time.c +++ b/arch/arm/mach-pxa/time.c | |||
@@ -30,11 +30,6 @@ | |||
30 | #include <asm/arch/pxa-regs.h> | 30 | #include <asm/arch/pxa-regs.h> |
31 | 31 | ||
32 | 32 | ||
33 | static inline unsigned long pxa_get_rtc_time(void) | ||
34 | { | ||
35 | return RCNR; | ||
36 | } | ||
37 | |||
38 | static int pxa_set_rtc(void) | 33 | static int pxa_set_rtc(void) |
39 | { | 34 | { |
40 | unsigned long current_time = xtime.tv_sec; | 35 | unsigned long current_time = xtime.tv_sec; |
@@ -122,10 +117,6 @@ static void __init pxa_timer_init(void) | |||
122 | 117 | ||
123 | set_rtc = pxa_set_rtc; | 118 | set_rtc = pxa_set_rtc; |
124 | 119 | ||
125 | tv.tv_nsec = 0; | ||
126 | tv.tv_sec = pxa_get_rtc_time(); | ||
127 | do_settimeofday(&tv); | ||
128 | |||
129 | OIER = 0; /* disable any timer interrupts */ | 120 | OIER = 0; /* disable any timer interrupts */ |
130 | OSSR = 0xf; /* clear status on all timers */ | 121 | OSSR = 0xf; /* clear status on all timers */ |
131 | setup_irq(IRQ_OST0, &pxa_timer_irq); | 122 | setup_irq(IRQ_OST0, &pxa_timer_irq); |