lib: Don't return expression in function returning void

This commit is contained in:
Michael Forney 2019-08-11 04:50:32 +00:00 committed by Thomas Haller
parent de72910e6b
commit f69755ae53
2 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ void nl_cache_free(struct nl_cache *cache)
void nl_cache_put(struct nl_cache *cache)
{
return nl_cache_free(cache);
nl_cache_free(cache);
}
/** @} */

View File

@ -301,7 +301,7 @@ void nl_object_dump_buf(struct nl_object *obj, char *buf, size_t len)
.dp_buflen = len,
};
return nl_object_dump(obj, &dp);
nl_object_dump(obj, &dp);
}
/**