From patchwork Fri Aug 4 08:59:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 109378 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1883280qge; Fri, 4 Aug 2017 02:05:33 -0700 (PDT) X-Received: by 10.55.133.195 with SMTP id h186mr1913143qkd.21.1501837533674; Fri, 04 Aug 2017 02:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501837533; cv=none; d=google.com; s=arc-20160816; b=oslL7jSFyCTB9WQQbkbyR5Ikklh8qVMdphOdyqB6qRePnq0mHZ2f5ndxc1pUW4aVns 6iuXg7QyuYmxbRi+DB5vN5cvuxyUdjwjMmE1N/HPr8K4yOaGTQY1RDDDPjTiHOT+t5x1 s5qLk7SoMeGDUQaqtTEjrV2IDPwQWF/PYgaRXkN7rFERyrMG94dc6B5SLlB+zsYweuQr Iak/3HKtJAS+/PNndA0jWBdnh9LJLpAR02+iNV1/2kCDFbHerm24rXSfpqiGru0wid2q kbmogkFj2F8+cM6NmpfClBY0kg05k91P56kIsYBZkrOfn1c/aoQlHaA6w3NvaSF1TsI+ jB7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=1d3QEsEShQJpxJaUrV4VeygGh8WQGOLwL/Kx6mfpgIE=; b=MfyuZFBK/3c13s4Z2PWZSTnbuMSi9lsc4FhVKdAAJ8xOI9Kdp2+1TdewRKH/hN05fU ULXvN3IYgdzDVYmN/tSWgjKgce/kuoskJ5F0VHOxd7PveOVXKIXxpZgCXhQ8grgAgydZ a6NtZRwJwVGW+kVoO+T9UuJZ0rVIrIqtEwEU7yNnYgxgMOOMRpVDNKsrxrCCGU7i6xIp Qhqwz8grq/dsP9CcxOF6aPL/MAwn9dRhXA2Sur+Jn5XhwhwffrFpiOxHbqJRDKFp6+GD RpKZX4kzlOzgQ+mfYviAtHvaBu7XNlsfYMYZGYQMjuP+h/dVnPRYW5GykYjnkmmfImoN bRjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p32si1222322qtc.500.2017.08.04.02.05.33; Fri, 04 Aug 2017 02:05:33 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 38D74644C2; Fri, 4 Aug 2017 09:05:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 15CC062C7E; Fri, 4 Aug 2017 09:02:20 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A39F0644E1; Fri, 4 Aug 2017 09:02:17 +0000 (UTC) Received: from forward3m.cmail.yandex.net (forward3m.cmail.yandex.net [5.255.216.21]) by lists.linaro.org (Postfix) with ESMTPS id 2B29462C7E for ; Fri, 4 Aug 2017 09:00:45 +0000 (UTC) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward3m.cmail.yandex.net (Yandex) with ESMTP id D970920F4D for ; Fri, 4 Aug 2017 12:00:43 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 405BE1300E52 for ; Fri, 4 Aug 2017 12:00:22 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kkQJPUXR1g-0LG4E86E; Fri, 04 Aug 2017 12:00:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 4 Aug 2017 11:59:57 +0300 Message-Id: <1501837208-7450-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501837208-7450-1-git-send-email-odpbot@yandex.ru> References: <1501837208-7450-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v1 2/13] linux-gen: pool: drop two unused functions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 108 (lumag:symbols-cleanup) ** https://github.com/Linaro/odp/pull/108 ** Patch: https://github.com/Linaro/odp/pull/108.patch ** Base sha: 8390f890d4bd2babb63a24f7b15d2f4763e44050 ** Merge commit sha: 44fd671a0d2772a32395c7f0574aa545d2a9aa71 **/ platform/linux-generic/include/odp_buffer_internal.h | 4 ---- platform/linux-generic/odp_pool.c | 13 ------------- 2 files changed, 17 deletions(-) diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h index 7eb0cdf9..873822af 100644 --- a/platform/linux-generic/include/odp_buffer_internal.h +++ b/platform/linux-generic/include/odp_buffer_internal.h @@ -110,10 +110,6 @@ ODP_STATIC_ASSERT(CONFIG_PACKET_MAX_SEGS < 256, ODP_STATIC_ASSERT(BUFFER_BURST_SIZE < 256, "BUFFER_BURST_SIZE_TOO_LARGE"); -/* Forward declarations */ -int seg_alloc_tail(odp_buffer_hdr_t *buf_hdr, int segcount); -void seg_free_tail(odp_buffer_hdr_t *buf_hdr, int segcount); - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 3f7013b4..ade65c17 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -901,19 +901,6 @@ uint64_t odp_pool_to_u64(odp_pool_t hdl) return _odp_pri(hdl); } -int seg_alloc_tail(odp_buffer_hdr_t *buf_hdr, int segcount) -{ - (void)buf_hdr; - (void)segcount; - return 0; -} - -void seg_free_tail(odp_buffer_hdr_t *buf_hdr, int segcount) -{ - (void)buf_hdr; - (void)segcount; -} - int odp_buffer_is_valid(odp_buffer_t buf) { pool_t *pool;