Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module-adapter: make interface const #8187

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Conversation

lyakh
Copy link
Collaborator

@lyakh lyakh commented Sep 12, 2023

Module adapter interfaces are a collection of methods, implementing the API, they never change. Make them const.

Module adapter interfaces are a collection of methods, implementing
the API, they never change. Make them const.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
rfree(NULL) is valid, remove a redundant NULL check.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Copy link
Collaborator

@RanderWang RanderWang left a comment

Choose a reason for hiding this comment

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

LGTM

@kv2019i kv2019i merged commit 3f9e6be into thesofproject:main Sep 13, 2023
37 of 41 checks passed
@lyakh lyakh deleted the mod_intf branch September 13, 2023 10:29
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.

6 participants