2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-05 00:35:33 +00:00

netdev-linux: Remove unused data in htb_tc_load().

This commit is contained in:
Ben Pfaff
2010-10-22 13:12:27 -07:00
parent a91c6104fa
commit f8da634725

View File

@@ -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;