summaryrefslogtreecommitdiff
path: root/zebra/zebra_routemap.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 21:18:33 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 21:22:46 -0400
commit46a69f10c01676e5f5dd0d12f542b58f8747decd (patch)
tree4a466788dab32b44c5aa281077f2a317f97b17e5 /zebra/zebra_routemap.c
parent69f02720836c75a53f05e6acd4a5bad459db7258 (diff)
bgpd, lib, zebra: Remove unnecessary return
The route_map_walk_update_list callback function never uses the return code, so just remove it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_routemap.c')
-rw-r--r--zebra/zebra_routemap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c
index 8e368c257e..6d3c2b2265 100644
--- a/zebra/zebra_routemap.c
+++ b/zebra/zebra_routemap.c
@@ -1282,13 +1282,11 @@ static struct route_map_rule_cmd route_set_src_cmd = {
"src", route_set_src, route_set_src_compile, route_set_src_free,
};
-static int zebra_route_map_process_update_cb(char *rmap_name)
+static void zebra_route_map_process_update_cb(char *rmap_name)
{
if (IS_ZEBRA_DEBUG_EVENT)
zlog_debug("Event handler for route-map: %s",
rmap_name);
-
- return 0;
}
static int zebra_route_map_update_timer(struct thread *thread)