From 4a7094119ce05cadf927f52cc5d723e2195e65f9 Mon Sep 17 00:00:00 2001 From: Javier Pello Date: Tue, 27 Sep 2022 20:07:24 +0200 Subject: elf: Remove hwcap parameter from add_to_cache signature Last commit made it so that the value passed for that parameter was always 0 at its only call site. Signed-off-by: Javier Pello Reviewed-by: Florian Weimer --- elf/ldconfig.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'elf/ldconfig.c') diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 0d19d84..e6c24e7 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -980,8 +980,7 @@ search_dir (const struct dir_entry *entry) } if (opt_build_cache) add_to_cache (entry->path, filename, dlib_ptr->soname, - dlib_ptr->flag, dlib_ptr->isa_level, 0, - entry->hwcaps); + dlib_ptr->flag, dlib_ptr->isa_level, entry->hwcaps); } /* Free all resources. */ -- cgit v1.1