Skip to content

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 <emil.l.velikov@gmail.com>
Older kernels name the struct differently. Use a #define to trivially
workaround that.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2.6.35 was released over 13 years ago. I think it's fine to let go now.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
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 <emil.l.velikov@gmail.com>
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