summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_table.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-16 03:34:19 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-16 03:34:19 +0200
commit6dc556447b50a31cdfcba1fd311b5e66731be241 (patch)
treefd4dd4f42f5175b07689285cfdc71a22453995ef /bgpd/bgp_table.c
parentMerge pull request #711 ("Coverity munging") (diff)
downloadfrr-6dc556447b50a31cdfcba1fd311b5e66731be241.tar.xz
frr-6dc556447b50a31cdfcba1fd311b5e66731be241.zip
bgpd: Remove unset table.owner
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_table.c')
-rw-r--r--bgpd/bgp_table.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bgpd/bgp_table.c b/bgpd/bgp_table.c
index ff0cfdd65..642807e7a 100644
--- a/bgpd/bgp_table.c
+++ b/bgpd/bgp_table.c
@@ -50,12 +50,6 @@ bgp_table_unlock (struct bgp_table *rt)
route_table_finish (rt->route_table);
rt->route_table = NULL;
- if (rt->owner)
- {
- peer_unlock (rt->owner);
- rt->owner = NULL;
- }
-
XFREE (MTYPE_BGP_TABLE, rt);
}