ARM: CSR: timer: do not initialise statics to 0 or NULL
authorBarry Song <Baohua.Song@csr.com>
Fri, 23 Sep 2011 05:51:28 +0000 (22:51 -0700)
committerBarry Song <21cnbao@gmail.com>
Sat, 1 Oct 2011 01:38:39 +0000 (09:38 +0800)
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/mach-prima2/timer.c

index ed7ec48..225ed3b 100644 (file)
@@ -133,7 +133,7 @@ static struct irqaction sirfsoc_timer_irq = {
 /* Overwrite weak default sched_clock with more precise one */
 unsigned long long notrace sched_clock(void)
 {
-       static int is_mapped = 0;
+       static int is_mapped;
 
        /*
         * sched_clock is called earlier than .init of sys_timer