Skip to contentSkip to conversation

taskstats: remove initialization of static per-cpu variable

PATCH New Vegard Nossum 1 participant 1 message Jun 12, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 taskstats: remove initialization of static per-cpu variable

Hi Andrew,

The e-mail address of the maintainer (as listed in MAINTAINERS) gave me an error, so it goes to you instead.

Thanks.

Vegard

From: Vegard Nossum <[email protected]>
Date: Thu, 12 Jun 2008 22:08:45 +0200
Subject: [PATCH] taskstats: remove initialization of static per-cpu variable

---
 kernel/taskstats.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/taskstats.c +1 -1
index 4a23517..e80788b 100644
@@ -35,7 +35,7 @@
  */
 #define TASKSTATS_CPUMASK_MAXLEN	(100+6*NR_CPUS)
 
-static DEFINE_PER_CPU(__u32, taskstats_seqnum) = { 0 };
+static DEFINE_PER_CPU(__u32, taskstats_seqnum);
 static int family_registered;
 struct kmem_cache *taskstats_cache;
 
Signature · 1 line
1.5.4.1