From f8da634725a4a30243fd45c5579d300dfca1c853 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 22 Oct 2010 13:12:27 -0700 Subject: [PATCH] netdev-linux: Remove unused data in htb_tc_load(). --- lib/netdev-linux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 4bfa9f31..1312d4d1 100644 --- 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; -- 2.30.2