From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 7E8D510BD for ; Mon, 10 Sep 2018 07:18:35 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id z96-v6so20409122wrb.8 for ; Sun, 09 Sep 2018 22:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=UqRcPsO+W8RZP5biI0WfNtNgOXxQk54jV6qiH9Dsdx4=; b=ZoZjS7eIxVktM+I9FZYE8hNxruDyi5jlKrbct3CLeixyGg55mbQoWrAdgwJit2DIN1 0UIpiauNygOtXfaEGOQ236DDi1nnuK0b9RrvuMNMqpnjfL+bgFZH8owhn/zBTSJSdFwS dWliMjEO3vJSPNwY0ks3BBjcj50A4kV98v0zBnMskdsvDJTmzWJi4/onPcakgGNFS3Lw VZxDiqsDDmoA+5rfpaaqFxSGHS8/QLDZ7qgmnSCeJOJKol6UGaioaLIYQqzg7+GzlDFV 0eTQ5KVx+bO6tZBX5W7rCqhaHYhUdX/8OrK7GTq6gxquwBKKxBUgFM6aUBWVAqE5IRvG XJJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UqRcPsO+W8RZP5biI0WfNtNgOXxQk54jV6qiH9Dsdx4=; b=tO/8jDrWBLPfDSwoDj/lBRejEJMpDgQEaGCfyuBGfgkTUGbBMgdX8P+ZFA7C4ojHan WBVYmRhUzd2NGCvTZ66Ygvy+/D0KZwGzrZ/2t2ksEahMzbmavFgpc1YG6Hojv2df0H9d 1SpDc2D0ZNS7/NsPCU0fK86GcLeNWMngrKplDsh4qLC5L/OO4lp7engyrL6IK4yKmWGF MKRafbpEHyOQvhNFHyVKwImKMsl+VMwWtywAjEvIbi+I+p1FAiXuEHW1gATFTSuu99LZ QEvgPgW7iEOaSVOAmoCixfe3IM1dXxq/znWVl8E5QTPV7QYLZ0B24uyZrMF6+srkKk0Z SopA== X-Gm-Message-State: APzg51AGcd4X5y3Iljp7+Lv8s2hh1FCZJyTz4RUmWrfbpvsgX0PPN3M7 1rWIL0uKzmqIpWXOfxdWNQg7mVKKju4= X-Google-Smtp-Source: ANB0VdbdwwuFFJu/b2eqw1VCLCr8M79DOcj6Q7ylNd+MQDRqSY6RkT/5DkqfI9WJe58feOIZBAmK9A== X-Received: by 2002:adf:f4ce:: with SMTP id h14-v6mr14514839wrp.259.1536556714832; Sun, 09 Sep 2018 22:18:34 -0700 (PDT) Received: from 6wind.com ([109.190.253.16]) by smtp.gmail.com with ESMTPSA id i4-v6sm14655523wrs.85.2018.09.09.22.18.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Sep 2018 22:18:34 -0700 (PDT) From: David Marchand To: dev@dpdk.org Cc: olivier.matz@6wind.com Date: Mon, 10 Sep 2018 07:18:19 +0200 Message-Id: <20180910051819.15528-1-david.marchand@6wind.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] mbuf: remove deprecated segment free functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 05:18:35 -0000 __rte_mbuf_raw_free and __rte_pktmbuf_prefree_seg have been deprecated for a long time now (early 17.05), are not part of the abi and are easily replaced with existing api. Signed-off-by: David Marchand --- lib/librte_mbuf/rte_mbuf.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 9ce5d76d7..a50b05c64 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -1038,14 +1038,6 @@ rte_mbuf_raw_free(struct rte_mbuf *m) rte_mempool_put(m->pool, m); } -/* compat with older versions */ -__rte_deprecated -static inline void -__rte_mbuf_raw_free(struct rte_mbuf *m) -{ - rte_mbuf_raw_free(m); -} - /** * The packet mbuf constructor. * @@ -1658,14 +1650,6 @@ rte_pktmbuf_prefree_seg(struct rte_mbuf *m) return NULL; } -/* deprecated, replaced by rte_pktmbuf_prefree_seg() */ -__rte_deprecated -static inline struct rte_mbuf * -__rte_pktmbuf_prefree_seg(struct rte_mbuf *m) -{ - return rte_pktmbuf_prefree_seg(m); -} - /** * Free a segment of a packet mbuf into its original mempool. * -- 2.17.1