From: Vegard Nossum Date: Thu, 12 Jun 2008 21:21:53 +0000 (+0200) Subject: softirq: remove initialization of static per-cpu variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4620b49f76096fa5183eecad7d689faa898a4c82;p=linux-beck.git softirq: remove initialization of static per-cpu variable Signed-off-by: Vegard Nossum Signed-off-by: Ingo Molnar --- diff --git a/kernel/softirq.c b/kernel/softirq.c index 059256874e9b..86775340ef1d 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -359,10 +359,8 @@ struct tasklet_head struct tasklet_struct **tail; }; -/* Some compilers disobey section attribute on statics when not - initialized -- RR */ -static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec) = { NULL }; -static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec) = { NULL }; +static DEFINE_PER_CPU(struct tasklet_head, tasklet_vec); +static DEFINE_PER_CPU(struct tasklet_head, tasklet_hi_vec); void __tasklet_schedule(struct tasklet_struct *t) {