lib: Replace route_map_clear_updated to void

Return status not used at all.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2022-09-06 17:21:43 +03:00
parent db391f7d06
commit d3822e7983

View File

@ -812,17 +812,13 @@ int route_map_mark_updated(const char *name)
return (ret); 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) { if (map) {
map->to_be_processed = false; map->to_be_processed = false;
if (map->deleted) if (map->deleted)
route_map_free_map(map); route_map_free_map(map);
} }
return (ret);
} }
/* Lookup route map. If there isn't route map create one and return /* Lookup route map. If there isn't route map create one and return