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

LINUX_VERSION_CODE inspired cleanup #30

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

evelikov
Copy link

While browsing through I've noticed that we have a bunch of convoluted LINUX_VERSION_CODE handling and some dead/unused code. This PR takes care of it.

Mind you, this is only compile tested.

Make a simple wrapper and avoid the multiple #if checks across the
codebase.

Signed-off-by: Emil Velikov <[email protected]>
Older kernels name the struct differently. Use a #define to trivially
workaround that.

Signed-off-by: Emil Velikov <[email protected]>
2.6.35 was released over 13 years ago. I think it's fine to let go now.

Signed-off-by: Emil Velikov <[email protected]>
The wg_message_handshake_cookie struct alongside all the static inline
helpers are unused - remove them.

The former was unused since its introduction, while the latter since
commit bf30d58

Signed-off-by: Emil Velikov <[email protected]>
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.

1 participant