浏览代码

ARM: CSR: timer: do not initialise statics to 0 or NULL

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Barry Song 14 年之前
父节点
当前提交
f70fc57e52
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/mach-prima2/timer.c

+ 1 - 1
arch/arm/mach-prima2/timer.c

@@ -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