From patchwork Thu Oct 29 11:38:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schultz X-Patchwork-Id: 537795 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.osmocom.org (tmp.osmocom.org [144.76.43.76]) by ozlabs.org (Postfix) with ESMTP id 5A08D140FDA for ; Thu, 29 Oct 2015 22:39:18 +1100 (AEDT) Received: from lists.osmocom.org (lists.osmocom.org [144.76.43.76]) by lists.osmocom.org (Postfix) with ESMTP id 6B7CC79F2; Thu, 29 Oct 2015 11:39:17 +0000 (UTC) X-Original-To: openbsc@lists.osmocom.org Delivered-To: openbsc@lists.osmocom.org Received: from mail.tpip.net (mail.tpip.net [92.43.49.48]) by lists.osmocom.org (Postfix) with ESMTP id 869D979CE for ; Thu, 29 Oct 2015 11:39:14 +0000 (UTC) Received: from office.tpip.net (office.tpip.net [92.43.51.2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tpip.net (Postfix) with ESMTPS id 8B2F14F414; Thu, 29 Oct 2015 11:39:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by office.tpip.net (Postfix) with ESMTP id 467CCA2F7C; Thu, 29 Oct 2015 12:39:11 +0100 (CET) Received: from office.tpip.net ([127.0.0.1]) by localhost (office.tpip.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JF4ETXWUMAJS; Thu, 29 Oct 2015 12:39:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by office.tpip.net (Postfix) with ESMTP id 0F466A2F7D; Thu, 29 Oct 2015 12:39:11 +0100 (CET) X-Virus-Scanned: amavisd-new at tpip.net Received: from office.tpip.net ([127.0.0.1]) by localhost (office.tpip.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ewf7hmB2XZrs; Thu, 29 Oct 2015 12:39:10 +0100 (CET) Received: from alice.tpip.org (unknown [192.168.13.53]) by office.tpip.net (Postfix) with ESMTPSA id A1D52A2F7C; Thu, 29 Oct 2015 12:39:10 +0100 (CET) From: Andreas Schultz To: Harald Welte , Pablo Neira Ayuso Subject: [PATCH 2/6] gtp: remove genl_ops compat ifdef for Linux < 3.13 Date: Thu, 29 Oct 2015 12:38:58 +0100 Message-Id: <1446118742-22809-3-git-send-email-aschultz@tpip.net> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1446118742-22809-1-git-send-email-aschultz@tpip.net> References: <1446118742-22809-1-git-send-email-aschultz@tpip.net> X-BeenThere: openbsc@lists.osmocom.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Development of the OpenBSC GSM base station controller List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openbsc@lists.osmocom.org Errors-To: openbsc-bounces@lists.osmocom.org Sender: "OpenBSC" Signed-off-by: Andreas Schultz --- 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,