mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 17:06:28 +00:00
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:
parent
7096e93875
commit
c573cddd2a
@ -26,34 +26,18 @@
|
|||||||
|
|
||||||
#include "pimd.h"
|
#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)
|
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);
|
route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_ADDED);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void pim_route_map_delete(const char *rmap_name)
|
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);
|
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)
|
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);
|
route_map_notify_dependencies(rmap_name, RMAP_EVENT_MATCH_ADDED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user