Commit b81f3ea9 authored by Vegard Nossum's avatar Vegard Nossum Committed by Linus Torvalds

taskstats: remove initialization of static per-cpu variable

Cc: Shailabh Nagar <nagar@watson.ibm.com>
Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9b0975a2
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
*/ */
#define TASKSTATS_CPUMASK_MAXLEN (100+6*NR_CPUS) #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; static int family_registered;
struct kmem_cache *taskstats_cache; struct kmem_cache *taskstats_cache;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment