diff options
author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-04 20:32:26 +0200 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 17:13:43 +0200 |
commit | fefa080e3c6667db48a749015b4590951ef17e10 (patch) | |
tree | 010e182cedb316c4bffce961344174ecc29d7926 /zebra/zebra_router.c | |
parent | zebra: Comment to indicate where nhg hashtables live (diff) | |
download | frr-fefa080e3c6667db48a749015b4590951ef17e10.tar.xz frr-fefa080e3c6667db48a749015b4590951ef17e10.zip |
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 '')
-rw-r--r-- | zebra/zebra_router.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c index d6ec6ac16..f52249ad8 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); -} |