summaryrefslogtreecommitdiff
path: root/lib/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 /lib/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 'lib/routemap.c')
-rw-r--r--lib/routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index b2c1929507..056c793454 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -807,7 +807,7 @@ static struct route_map *route_map_get(const char *name)
return map;
}
-void route_map_walk_update_list(int (*route_map_update_fn)(char *name))
+void route_map_walk_update_list(void (*route_map_update_fn)(char *name))
{
struct route_map *node;
struct route_map *nnode = NULL;