From: Ben Pfaff Date: Wed, 9 Jun 2010 20:17:51 +0000 (-0700) Subject: brcompatd: Remove commented-out code. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc86ea5a03a320476a89e9a13f9539c0146fac43;p=openvswitch brcompatd: Remove commented-out code. This code was never converted from the configuration database to OVSDB. In the subsequent months the lack of it has not caused any problems, so this commit deletes it. --- diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c index 29503015..a182b492 100644 --- a/vswitchd/ovs-brcompatd.c +++ b/vswitchd/ovs-brcompatd.c @@ -280,68 +280,6 @@ get_bridge_ports(const struct ovsrec_bridge *br, struct svec *ports, do_get_bridge_parts(br, ports, vlan, false); } -#if 0 -/* Go through the configuration file and remove any ports that no longer - * exist associated with a bridge. */ -static void -prune_ports(void) -{ - int i, j; - struct svec bridges, delete; - - if (cfg_lock(NULL, 0)) { - /* Couldn't lock config file. */ - return; - } - - svec_init(&bridges); - svec_init(&delete); - cfg_get_subsections(&bridges, "bridge"); - for (i=0; i