From c70e585e05403d3fa8043e2c0c0e3f58e1b7a71e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 6 Jan 2021 11:13:43 -0500 Subject: [PATCH] zebra: Remove uncalled function Remove the dead function zebra_route_map_write_delay_timer Signed-off-by: Donald Sharp --- zebra/zebra_routemap.c | 8 -------- zebra/zebra_routemap.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c index 0ce724f608..7f766a5179 100644 --- a/zebra/zebra_routemap.c +++ b/zebra/zebra_routemap.c @@ -1668,14 +1668,6 @@ void zebra_routemap_finish(void) route_map_finish(); } -void zebra_route_map_write_delay_timer(struct vty *vty) -{ - if (vty && (zebra_rmap_update_timer != ZEBRA_RMAP_DEFAULT_UPDATE_TIMER)) - vty_out(vty, "zebra route-map delay-timer %d\n", - zebra_rmap_update_timer); - return; -} - route_map_result_t zebra_route_map_check(int family, int rib_type, uint8_t instance, const struct prefix *p, struct nexthop *nexthop, diff --git a/zebra/zebra_routemap.h b/zebra/zebra_routemap.h index 56e805ea03..251e07af72 100644 --- a/zebra/zebra_routemap.h +++ b/zebra/zebra_routemap.h @@ -36,8 +36,6 @@ extern void zebra_add_import_table_route_map(afi_t afi, const char *rmap_name, uint32_t table); extern void zebra_del_import_table_route_map(afi_t afi, uint32_t table); -extern void zebra_route_map_write_delay_timer(struct vty *); - extern route_map_result_t zebra_import_table_route_map_check(int family, int rib_type, uint8_t instance, const struct prefix *p, -- 2.39.5