aboutsummaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-03-12 14:10:13 -0500
committerJesse Gross <jesse@nicira.com>2010-03-15 15:43:27 -0400
commitb9172b00781eac517edf7aedc60197161c395264 (patch)
treec3ff7f337b1ad95c03205c13a0084686e9d27347 /vswitchd
parent6461611285ed11caf02cd22bb749020bf64a6f65 (diff)
bridge: Remove leftover from config file.
The 'pfx' variable is no longer used now that the config file is gone and its only purpose in life is to be freed so get rid of it.
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/bridge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 6440bb9a..596040b4 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -1530,7 +1530,6 @@ static void
bridge_reconfigure_controller(const struct ovsrec_open_vswitch *ovs_cfg,
struct bridge *br)
{
- char *pfx = xasprintf("bridge.%s.controller", br->name);
const struct ovsrec_controller *c;
c = bridge_get_controller(ovs_cfg, br);
@@ -1624,7 +1623,6 @@ bridge_reconfigure_controller(const struct ovsrec_open_vswitch *ovs_cfg,
ofproto_set_probe_interval(br->ofproto, 5);
ofproto_set_failure(br->ofproto, false);
}
- free(pfx);
ofproto_set_controller(br->ofproto, br->controller);
}