summaryrefslogtreecommitdiff
path: root/pimd/pim_routemap.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 20:46:07 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 21:21:36 -0400
commitc573cddd2a4fed3c3b40e50605255537b229ef9d (patch)
treefabf68e0bc737d067069302b3885c1e2000ae1b7 /pimd/pim_routemap.c
parent7096e93875b2deceb6e16cf3120c0adb59611279 (diff)
pimd: Remove unused code
pim does not even use route-maps, remove the unneded code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_routemap.c')
-rw-r--r--pimd/pim_routemap.c16
1 files changed, 0 insertions, 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);
}