pimd: Remove unused code

pim does not even use route-maps, remove the
unneded code.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2018-06-19 20:46:07 -04:00
parent 7096e93875
commit c573cddd2a

View File

@ -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);
}