From: Jiri Pirko Date: Tue, 12 Feb 2013 00:12:01 +0000 (+0000) Subject: htb: remove pointless first initialization of buffer and cbuffer X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=bdd6998b1e050f5589562e40aa852b626ee6fdea;p=~shefty%2Frdma-dev.git htb: remove pointless first initialization of buffer and cbuffer These are initialized correctly a couple of lines later in the function. Signed-off-by: Jiri Pirko Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 14a83dc0bff..547912e9403 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c @@ -1503,9 +1503,6 @@ static int htb_change_class(struct Qdisc *sch, u32 classid, cl->prio = TC_HTB_NUMPRIO - 1; } - cl->buffer = hopt->buffer; - cl->cbuffer = hopt->cbuffer; - cl->rate.rate_bps = (u64)hopt->rate.rate << 3; cl->ceil.rate_bps = (u64)hopt->ceil.rate << 3;