X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsched%2Fsch_dsmark.c;h=28b61f0f87a7d1db4f402b8f4c300b78565feba9;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=e0831a4a44576b5405c4bf393fa5529fde0f2dce;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c index e0831a4a4..28b61f0f8 100644 --- a/net/sched/sch_dsmark.c +++ b/net/sched/sch_dsmark.c @@ -331,8 +331,6 @@ int dsmark_init(struct Qdisc *sch,struct rtattr *opt) !tb[TCA_DSMARK_INDICES-1] || RTA_PAYLOAD(tb[TCA_DSMARK_INDICES-1]) < sizeof(__u16)) return -EINVAL; - memset(p,0,sizeof(*p)); - p->filter_list = NULL; p->indices = *(__u16 *) RTA_DATA(tb[TCA_DSMARK_INDICES-1]); if (!p->indices) return -EINVAL;