[PATCH 2/6] gtp: remove genl_ops compat ifdef for Linux < 3.13

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Andreas Schultz aschultz at tpip.net
Thu Oct 29 11:38:58 UTC 2015


Signed-off-by: Andreas Schultz <aschultz at tpip.net>
---
 gtp.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gtp.c b/gtp.c
index 61db1c3..6eb1178 100644
--- a/gtp.c
+++ b/gtp.c
@@ -1291,11 +1291,7 @@ static struct nla_policy gtp_genl_policy[GTPA_MAX + 1] = {
 	[GTPA_FLOW]		= { .type = NLA_U16, },
 };
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0)
 static const struct genl_ops gtp_genl_ops[] = {
-#else
-static struct genl_ops gtp_genl_ops[] = {
-#endif
 	{
 		.cmd = GTP_CMD_TUNNEL_NEW,
 		.doit = gtp_genl_tunnel_new,
-- 
2.5.0




More information about the OpenBSC mailing list