From cc86ea5a03a320476a89e9a13f9539c0146fac43 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 9 Jun 2010 13:17:51 -0700 Subject: [PATCH] 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. --- vswitchd/ovs-brcompatd.c | 66 ---------------------------------------- 1 file changed, 66 deletions(-) diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c index 29503015b..a182b492c 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