bridge: Remove redundant call to discover_types().
authorBen Pfaff <blp@nicira.com>
Thu, 26 Mar 2015 05:25:51 +0000 (22:25 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 21 Apr 2015 01:01:28 +0000 (18:01 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
vswitchd/bridge.c

index 5dfe91c..d48cf7f 100644 (file)
@@ -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.
      *