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

Do not define unused functions with SYS_DEFAULT_PATHS #5027

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

jamesjer
Copy link
Contributor

@jamesjer jamesjer commented Sep 3, 2022

GCC complains about functions that are defined but not used if SYS_DEFAULT_PATHS is defined. Wrap them with #ifndef SYS_DEFAULT_PATHS ... #endif, and move SyDotGapPath down so there is a single block of such definitions.

Text for release notes

None

Further details

None

@fingolfin fingolfin added topic: kernel release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Sep 4, 2022
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

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

Thanks

@fingolfin fingolfin merged commit 4799e88 into gap-system:master Sep 4, 2022
@fingolfin fingolfin mentioned this pull request Oct 6, 2022
@fingolfin
Copy link
Member

Backported to stable-4.12 in 3a266fb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-4.12-DONE release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants