]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pimd: Remove unused code
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 Jun 2018 00:46:07 +0000 (20:46 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 Jun 2018 01:21:36 +0000 (21:21 -0400)
pim does not even use route-maps, remove the
unneded code.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_routemap.c

index 8f6309340d228358322835a75d8ab19dce966966..b41124376f9f2546e31f61aec6f05b671ebfeba0 100644 (file)
 
 #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);
 }