mirror of
https://github.com/openvswitch/ovs
synced 2025-09-01 14:55:18 +00:00
bridge: Remove redundant call to discover_types().
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
@@ -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-handler-threads", 0),
|
||||||
smap_get_int(&ovs_cfg->other_config, "n-revalidator-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
|
/* Destroy "struct bridge"s, "struct port"s, and "struct iface"s according
|
||||||
* to 'ovs_cfg', with only very minimal configuration otherwise.
|
* to 'ovs_cfg', with only very minimal configuration otherwise.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user