From patchwork Fri Aug 4 09:00:03 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: 109377 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1882365qge; Fri, 4 Aug 2017 02:04:35 -0700 (PDT) X-Received: by 10.55.91.135 with SMTP id p129mr1915903qkb.32.1501837475381; Fri, 04 Aug 2017 02:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501837475; cv=none; d=google.com; s=arc-20160816; b=CLi4UQ88jtbLb+lPsNqYpXnzefbSFK3IbwWvPCbT2wJ91QXW3a3OExIQIxyxzbtE2o cLF63bb5GlYtqMA69YQE9iGu7XXY6K+L6JXxBNgNBYyfWo41z/cW/NeCa84hjsde96qe U8uyyb1b7P5x32u6RHp1BDvMuvDBud0Z9aCEd2tfmHvf6owygwS+QvECKpM1UMK6jdUX JM1xJqX3xuZ7slcXHZQczEyjvuUE1litPe4v/9rx2P8TkfyfHPl9pR9LPEoE4PrpeNUH GDZA+Hx86R+7AsbBDNQvBAd6REXUFd5+L6yJP0MDRphHgAvEuJSLt/lkX39woJipWRYQ 7QGg== 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=MWySB6FZu1uiir4q0dMSfhCVwEak2p2F8ysAjGcsK6w=; b=bpZr2n8+VMoAiM5E0t1Hzx31iKIse7lFJQG0iT0xnLkbXzkVSIytSophx0fhrzs8Br gOvZqkCGRNseZcdxGrSwmDOKf1Vjo2GBIydRKJZQNICUnCWenkygHPIFjcJEKY5yOKWR me0eWoNBl/5i0wLWK8VLtaFQ8ACNLFx/cq5uiMhAotwNlxBKcBYodiZ+QOIWwwttUiOB RLlVkiL4je2GK54eLQPm1L9CmEeid+YaGB887amBJUXZteVQObNSX9jt708+b+UsLJ2T zinIzfy3vTQ5qAoea6vbCPattGBYPcKIGYJ9sZz1MboXwjuWHrBFT56gRWfrJfHPPXc3 wNLw== 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 b196si1183458qkc.469.2017.08.04.02.04.35; Fri, 04 Aug 2017 02:04:35 -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 0EAD2644C1; Fri, 4 Aug 2017 09:04:35 +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 58BDE64455; Fri, 4 Aug 2017 09:01:40 +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 2B805644CD; Fri, 4 Aug 2017 09:01:34 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id 7A4DD6445A for ; Fri, 4 Aug 2017 09:00:38 +0000 (UTC) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id 2F85321030 for ; Fri, 4 Aug 2017 12:00:37 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id ADEBD1300D49 for ; Fri, 4 Aug 2017 12:00:33 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kkQJPUXR1g-0XGST8Xu; Fri, 04 Aug 2017 12:00:33 +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 12:00:03 +0300 Message-Id: <1501837208-7450-9-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 8/13] linux-gen: queue: 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_queue_internal.h | 3 --- platform/linux-generic/odp_queue.c | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/platform/linux-generic/include/odp_queue_internal.h b/platform/linux-generic/include/odp_queue_internal.h index c5ff1e7d..dd846d59 100644 --- a/platform/linux-generic/include/odp_queue_internal.h +++ b/platform/linux-generic/include/odp_queue_internal.h @@ -61,9 +61,6 @@ union queue_entry_u { uint8_t pad[ROUNDUP_CACHE_LINE(sizeof(struct queue_entry_s))]; }; -void queue_lock(queue_entry_t *queue); -void queue_unlock(queue_entry_t *queue); - static inline uint32_t queue_to_id(odp_queue_t handle) { return _odp_typeval(handle) - 1; diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c index e2f8c067..7ad346ad 100644 --- a/platform/linux-generic/odp_queue.c +++ b/platform/linux-generic/odp_queue.c @@ -593,16 +593,6 @@ static int queue_init(queue_entry_t *queue, const char *name, return 0; } -void queue_lock(queue_entry_t *queue) -{ - LOCK(&queue->s.lock); -} - -void queue_unlock(queue_entry_t *queue) -{ - UNLOCK(&queue->s.lock); -} - static void queue_param_init(odp_queue_param_t *params) { memset(params, 0, sizeof(odp_queue_param_t));