diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-02-11 19:12:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-12 18:59:44 -0500 |
commit | bdd6998b1e050f5589562e40aa852b626ee6fdea (patch) | |
tree | 73c32a164ef64424fce771d6174ae01b15b2fed8 /net/sched | |
parent | 324f5aa52814b3cc0b24eec071be2946dbca0e3a (diff) |
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 <jiri@resnulli.us>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_htb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 14a83dc0bfff..547912e94038 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, | |||
1503 | cl->prio = TC_HTB_NUMPRIO - 1; | 1503 | cl->prio = TC_HTB_NUMPRIO - 1; |
1504 | } | 1504 | } |
1505 | 1505 | ||
1506 | cl->buffer = hopt->buffer; | ||
1507 | cl->cbuffer = hopt->cbuffer; | ||
1508 | |||
1509 | cl->rate.rate_bps = (u64)hopt->rate.rate << 3; | 1506 | cl->rate.rate_bps = (u64)hopt->rate.rate << 3; |
1510 | cl->ceil.rate_bps = (u64)hopt->ceil.rate << 3; | 1507 | cl->ceil.rate_bps = (u64)hopt->ceil.rate << 3; |
1511 | 1508 | ||