Skip to content

Commit

Permalink
bridge: Remove redundant call to discover_types().
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Russell Bryant <[email protected]>
  • Loading branch information
blp committed Apr 21, 2015
1 parent fcc369b commit c78a00b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vswitchd/bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,6 @@ bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_cfg)
smap_get_int(&ovs_cfg->other_config, "n-handler-threads", 0),
smap_get_int(&ovs_cfg->other_config, "n-revalidator-threads", 0));

if (ovs_cfg) {
discover_types(ovs_cfg);
}

/* Destroy "struct bridge"s, "struct port"s, and "struct iface"s according
* to 'ovs_cfg', with only very minimal configuration otherwise.
*
Expand Down

0 comments on commit c78a00b

Please sign in to comment.