]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/sch_cbq.c
[NETFILTER]: xt_conntrack: clean up overly long lines
[linux-2.6-omap-h63xx.git] / net / sched / sch_cbq.c
index 80b7f6a8d008e85f6c220ec0b3bc2624bef18d79..bac881bfe3628b24a36642c967f30543447fca39 100644 (file)
@@ -1926,10 +1926,9 @@ cbq_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct rtattr **t
        }
 
        err = -ENOBUFS;
-       cl = kmalloc(sizeof(*cl), GFP_KERNEL);
+       cl = kzalloc(sizeof(*cl), GFP_KERNEL);
        if (cl == NULL)
                goto failure;
-       memset(cl, 0, sizeof(*cl));
        cl->R_tab = rtab;
        rtab = NULL;
        cl->refcnt = 1;