Skip to content

module: generic: remove unnecessary EXPORT_SYMBOL - #11101

Open
kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202606-fix-export
Open

module: generic: remove unnecessary EXPORT_SYMBOL#11101
kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202606-fix-export

Conversation

@kv2019i

@kv2019i kv2019i commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Remove export for mod_free_all(). It is not needed and unnecessary exports have a cost when modules are loaded.

Fixes: a0939f4 ("module: generic: use a single static lock for module resources")

Remove export for mod_free_all(). It is not needed and unnecessary exports
have a cost when modules are loaded.

Fixes: a0939f4 ("module: generic: use a single static lock for module resources")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Copilot AI lite review requested due to automatic review settings August 17, 2026 12:13
@kv2019i
kv2019i requested a review from lyakh August 17, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the EXPORT_SYMBOL() for z_impl_mod_free_all() in the module adapter generic implementation, reducing the exported symbol surface and avoiding unnecessary module-load export costs.

Changes:

  • Dropped EXPORT_SYMBOL(z_impl_mod_free_all) from generic.c while keeping the implementation intact.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants