From c78a00b112c959e2b503f459e3e6aaa0c69e11f2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 25 Mar 2015 22:25:51 -0700 Subject: [PATCH] bridge: Remove redundant call to discover_types(). Signed-off-by: Ben Pfaff Acked-by: Russell Bryant --- vswitchd/bridge.c | 4 ---- 1 file changed, 4 deletions(-) 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. *