Skip to content

Commit

Permalink
ofctrl: Remove unused hashmap.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Michelson <mmichels@redhat.com>
Acked-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
putnopvut committed Jul 9, 2021
1 parent ecc941c commit 28650a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion controller/ofctrl.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 28650a3

Please sign in to comment.