summaryrefslogtreecommitdiff
path: root/lib/routemap.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-09-06 17:21:43 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-09-12 04:42:41 +0300
commitd3822e7983dbc9c7aeff7dae7afb294ef71aae17 (patch)
treeae6ee649480e008f1d742a356f6a9233c893bd02 /lib/routemap.c
parentdb391f7d062b4e8a45eb7477f1e96cf3c01a8b89 (diff)
lib: Replace route_map_clear_updated to void
Return status not used at all. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index 9529b79419..e6310465e3 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -812,17 +812,13 @@ int route_map_mark_updated(const char *name)
return (ret);
}
-static int route_map_clear_updated(struct route_map *map)
+static void route_map_clear_updated(struct route_map *map)
{
- int ret = -1;
-
if (map) {
map->to_be_processed = false;
if (map->deleted)
route_map_free_map(map);
}
-
- return (ret);
}
/* Lookup route map. If there isn't route map create one and return