[ovs-dev] [PATCH ovn 1/2] ofctrl: Remove unused hashmap.

Mark Michelson mmichels at redhat.com
Tue Jun 15 13:24:43 UTC 2021


Signed-off-by: Mark Michelson <mmichels at redhat.com>
---
 controller/ofctrl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/controller/ofctrl.c b/controller/ofctrl.c
index 053631590..48d001506 100644
--- a/controller/ofctrl.c
+++ b/controller/ofctrl.c
@@ -1259,7 +1259,6 @@ ofctrl_flood_remove_flows(struct ovn_desired_flow_table *flow_table,
      * Copying the sb_uuids into an array. */
     struct uuid *sb_uuids;
     sb_uuids = xmalloc(hmap_count(flood_remove_nodes) * sizeof *sb_uuids);
-    struct hmap flood_remove_uuids = HMAP_INITIALIZER(&flood_remove_uuids);
     HMAP_FOR_EACH (ofrn, hmap_node, flood_remove_nodes) {
         sb_uuids[n++] = ofrn->sb_uuid;
     }
-- 
2.31.1



More information about the dev mailing list