htb: remove pointless first initialization of buffer and cbuffer
authorJiri Pirko <[email protected]>
Tue, 12 Feb 2013 00:12:01 +0000 (00:12 +0000)
committerDavid S. Miller <[email protected]>
Tue, 12 Feb 2013 23:59:44 +0000 (18:59 -0500)
These are initialized correctly a couple of lines later in the
function.

Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/sch_htb.c

index 14a83dc0bfff90f7b01597b964ee7c8eb4e0798b..547912e94038f0cb36c210b9b50153c6c24b07eb 100644 (file)
@@ -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;