diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-10-22 13:12:27 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-10-22 14:51:50 -0700 |
| commit | f8da634725a4a30243fd45c5579d300dfca1c853 (patch) | |
| tree | eb6edf756a23507b608e0dd6df67019f29311f97 /lib/netdev-linux.c | |
| parent | a91c6104fad3750b9dda4acd98e07529073e3ac1 (diff) | |
| download | openvswitch-f8da634725a4a30243fd45c5579d300dfca1c853.tar.gz | |
netdev-linux: Remove unused data in htb_tc_load().
Diffstat (limited to 'lib/netdev-linux.c')
| -rw-r--r-- | lib/netdev-linux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 4bfa9f311..1312d4d1f 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; |
