From: Ben Pfaff Date: Thu, 26 Mar 2015 05:25:51 +0000 (-0700) Subject: bridge: Remove redundant call to discover_types(). X-Git-Tag: v2.4.0~289 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=c78a00b112c959e2b503f459e3e6aaa0c69e11f2;p=cascardo%2Fovs.git bridge: Remove redundant call to discover_types(). Signed-off-by: Ben Pfaff Acked-by: Russell Bryant --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 5dfe91c63..d48cf7ff1 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -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. *