projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91c610
)
netdev-linux: Remove unused data in htb_tc_load().
author
Ben Pfaff
<blp@nicira.com>
Fri, 22 Oct 2010 20:12:27 +0000
(13:12 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 22 Oct 2010 21:51:50 +0000
(14:51 -0700)
lib/netdev-linux.c
patch
|
blob
|
history
diff --git
a/lib/netdev-linux.c
b/lib/netdev-linux.c
index 4bfa9f311fb2e5848ffba9bbc935b69fd52b8123..1312d4d1f433840c933e65e930ea0a5f69f86705 100644
(file)
--- a/
lib/netdev-linux.c
+++ b/
lib/netdev-linux.c
@@
-2519,7
+2519,6
@@
htb_update_queue__(struct netdev *netdev, unsigned int queue_id,
static int
htb_tc_load(struct netdev *netdev, struct ofpbuf *nlmsg OVS_UNUSED)
{
- struct shash details = SHASH_INITIALIZER(&details);
struct ofpbuf msg;
struct nl_dump dump;
struct htb_class hc;
@@
-2532,7
+2531,6
@@
htb_tc_load(struct netdev *netdev, struct ofpbuf *nlmsg OVS_UNUSED)
/* Get queues. */
start_queue_dump(netdev, &dump);
- shash_init(&details);
while (nl_dump_next(&dump, &msg)) {
unsigned int queue_id;