diff options
author | Andreas Schultz <aschultz@tpip.net> | 2015-10-29 12:38:58 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@soleta.eu> | 2015-11-07 17:50:55 +0100 |
commit | 3a45fc68e029579dca41122697d659217f81b702 (patch) | |
tree | 7540f6b568af0ccee5ae2a91424308c3af963495 | |
parent | 785aa50a6bbd42b97ab63f430951aca8583f3f4b (diff) |
gtp: remove genl_ops compat ifdef for Linux < 3.13
Signed-off-by: Andreas Schultz <aschultz@tpip.net>
Signed-off-by: Pablo Neira Ayuso <pablo@soleta.eu>
-rw-r--r-- | gtp.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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, |