From c573cddd2a4fed3c3b40e50605255537b229ef9d Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 19 Jun 2018 20:46:07 -0400 Subject: [PATCH] pimd: Remove unused code pim does not even use route-maps, remove the unneded code. Signed-off-by: Donald Sharp --- pimd/pim_routemap.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/pimd/pim_routemap.c b/pimd/pim_routemap.c index 8f6309340d..b41124376f 100644 --- a/pimd/pim_routemap.c +++ b/pimd/pim_routemap.c @@ -26,34 +26,18 @@ #include "pimd.h" - -static void pim_route_map_mark_update(const char *rmap_name) -{ - // placeholder - return; -} - static void pim_route_map_add(const char *rmap_name) { - if (route_map_mark_updated(rmap_name) == 0) - pim_route_map_mark_update(rmap_name); - route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_ADDED); } static void pim_route_map_delete(const char *rmap_name) { - if (route_map_mark_updated(rmap_name) == 0) - pim_route_map_mark_update(rmap_name); - route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_DELETED); } static void pim_route_map_event(route_map_event_t event, const char *rmap_name) { - if (route_map_mark_updated(rmap_name) == 0) - pim_route_map_mark_update(rmap_name); - route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_ADDED); } -- 2.39.5