llext: Drop unused memory domain member

Not sure why this vestigal struct member was here at this point (18
months ago...) but its unused and was causing problems for certain
parts.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
Tom Burdick 2025-07-14 07:32:25 -05:00 committed by Anas Nashif
parent 35044b64e4
commit 7bc4d14cfc
2 changed files with 0 additions and 9 deletions

View File

@ -83,7 +83,6 @@ struct llext {
#ifdef CONFIG_USERSPACE
struct k_mem_partition mem_parts[LLEXT_MEM_PARTITIONS];
struct k_mem_domain mem_domain;
#endif
/** @endcond */

View File

@ -747,14 +747,6 @@ int do_llext_load(struct llext_loader *ldr, struct llext *ext,
goto out;
}
#ifdef CONFIG_USERSPACE
ret = k_mem_domain_init(&ext->mem_domain, 0, NULL);
if (ret != 0) {
LOG_ERR("Failed to initialize extenion memory domain %d", ret);
goto out;
}
#endif
LOG_DBG("Finding ELF tables...");
ret = llext_find_tables(ldr, ext);
if (ret != 0) {