X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsched%2Fsch_atm.c;h=ff61f8e698c9d6fef2e62e0cb959ed1b33aee148;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=ca08449e7b03e72c2ae38372120f9ac8185de5fc;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c index ca08449e7..ff61f8e69 100644 --- a/net/sched/sch_atm.c +++ b/net/sched/sch_atm.c @@ -573,7 +573,6 @@ static int atm_tc_init(struct Qdisc *sch,struct rtattr *opt) struct atm_qdisc_data *p = PRIV(sch); DPRINTK("atm_tc_init(sch %p,[qdisc %p],opt %p)\n",sch,p,opt); - memset(p,0,sizeof(*p)); p->flows = &p->link; if(!(p->link.q = qdisc_create_dflt(sch->dev,&pfifo_qdisc_ops))) p->link.q = &noop_qdisc; @@ -715,3 +714,4 @@ static void __exit atm_exit(void) module_init(atm_init) module_exit(atm_exit) +MODULE_LICENSE("GPL");