projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324f5aa
)
htb: remove pointless first initialization of buffer and cbuffer
author
Jiri Pirko
<jiri@resnulli.us>
Tue, 12 Feb 2013 00:12:01 +0000
(
00:12
+0000)
committer
David S. Miller
<davem@davemloft.net>
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 <jiri@resnulli.us>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c
patch
|
blob
|
history
diff --git
a/net/sched/sch_htb.c
b/net/sched/sch_htb.c
index 14a83dc0bfff90f7b01597b964ee7c8eb4e0798b..547912e94038f0cb36c210b9b50153c6c24b07eb 100644
(file)
--- 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;