summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-10-04 14:32:26 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 11:13:43 -0400
commitfefa080e3c6667db48a749015b4590951ef17e10 (patch)
tree010e182cedb316c4bffce961344174ecc29d7926 /zebra/zebra_router.c
parent53ac1fbbe05665005f83a802ebe302e21dec720e (diff)
zebra: Remove cleanup and nhg workqueue boilerplate
This code was from a strategies we elected not to use and can safely be removed. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index d6ec6ac165..f52249ad8b 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -271,14 +271,3 @@ void zebra_router_init(void)
hash_create_size(8, zebra_nhg_id_key, zebra_nhg_hash_id_equal,
"Zebra Router Nexthop Groups ID index");
}
-
-/**
- * zebra_router_cleanup() - Perform any cleanup actions before termination
- *
- * Right now this is just being used to clear the nexthops we installed in
- * the kernel on shutdown before the routes are cleaned via vrf_terminated().
- */
-void zebra_router_cleanup(void)
-{
- zebra_nhg_cleanup_tables(zrouter.nhgs_id);
-}