request_mem_resource() and release_mem_resource() seem to not exist in recent kernel. Remove them. Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> --- I've tried to find it in older version. I randomly tried some search with elixir, up to 2.6, but never found these function. Any idea where it comes from? --- check_release_resource.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/check_release_resource.c b/check_release_resource.c index 7ea2c291c259..1c0fdfd93154 100644 --- a/check_release_resource.c +++ b/check_release_resource.c @@ -84,7 +84,5 @@ void check_release_resource(int id) add_function_hook("request_resource", &match_request, INT_PTR(1)); add_function_hook("release_resource", &match_release, INT_PTR(0)); - add_function_hook("request_mem_resource", &match_request, INT_PTR(0)); - add_function_hook("release_mem_resource", &match_release, INT_PTR(0)); add_hook(&match_end_func, END_FUNC_HOOK); } -- 2.34.1