From patchwork Fri Dec 20 04:45:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honnappa Nagarahalli X-Patchwork-Id: 182207 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp58385ilf; Thu, 19 Dec 2019 20:47:13 -0800 (PST) X-Google-Smtp-Source: APXvYqxmoIPndPw4mbJbEVh31WAsSMfsGYy1NyByhwCjX0eMaTiNls6TwViwG0kZceo/V1ER2/0I X-Received: by 2002:a50:d493:: with SMTP id s19mr13516032edi.77.1576817233146; Thu, 19 Dec 2019 20:47:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576817233; cv=none; d=google.com; s=arc-20160816; b=vIqvMYSyd1vw4G+gDCcmTLhu2aREZAYYo+q/GHKwWX/ilxMfhTPRBoRvQRBZb5sQTe WHHQXjEh3SDQ4kK2JPnsfvWoYbY/qmkEPM0shztHoIKaJ14fhZS1r5M+UmqmyKjGFvum WIPlogfSq1oP0ELzDYmy64n2RuXBf44rDLPq+hz4PJbTfOCdWcjCuMWJfMaI9jrEu+5D n0mUoLOxiMr2PgPh4LFq9bdGeIsb9C0WX+7aiRWwQOaOoxkMf9AQgcLp+MdNSMR8mvro E69LAzayMunDmMDKkXnxVS4XV+GxmyQr9ZQU2shdcTvNwW7np/IwCcxK+rVVzoToMuJK 4sDg== 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:references:in-reply-to :message-id:date:cc:to:from; bh=980s9mGNYsZBf7DymYrGIJvk0IoSjPLcxCfKvDEpbXc=; b=qe1htyKP4dJDsP9ylnvssm7VndvY2BOFvw+mV8/Btka7beQirn5zIcyRy7in6tLXzh Ur//v9hSRwwGb7ELcjwDaSzS2tRH/GRGeb9EJJ8blwhJudv75ML+LxLL2f/avVzYyGMN QuY9+go0EYSsDcITIwoJK3CvT/CWQBfVLqYkZ1XMjGZrjG0v6kQhV6wit00zsQsmKune 4KNDz7D3kkkS/2k3YDrCnc4sWpnQqWakxsuHZqcKkCVprFsmv2Zpt5BJWDcbAeZ9y+e2 mSbe4TbZNL2E331tYS+LSet1NkaekcjHll6yBwRzl7/qs3zlpZoYMC/6q8mZKB5pzCmp K2ow== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id d22si6870315edn.253.2019.12.19.20.47.12; Thu, 19 Dec 2019 20:47:13 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 998E11BFA1; Fri, 20 Dec 2019 05:46:17 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id DA47E1BF74 for ; Fri, 20 Dec 2019 05:45:58 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6D605139F; Thu, 19 Dec 2019 20:45:57 -0800 (PST) Received: from qc2400f-1.austin.arm.com (qc2400f-1.austin.arm.com [10.118.14.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 64E403F718; Thu, 19 Dec 2019 20:45:57 -0800 (PST) From: Honnappa Nagarahalli To: olivier.matz@6wind.com, sthemmin@microsoft.com, jerinj@marvell.com, bruce.richardson@intel.com, david.marchand@redhat.com, pbhagavatula@marvell.com, konstantin.ananyev@intel.com, honnappa.nagarahalli@arm.com Cc: dev@dpdk.org, dharmik.thakkar@arm.com, ruifeng.wang@arm.com, gavin.hu@arm.com, nd@arm.com Date: Thu, 19 Dec 2019 22:45:16 -0600 Message-Id: <20191220044524.32910-10-honnappa.nagarahalli@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191220044524.32910-1-honnappa.nagarahalli@arm.com> References: <20190906190510.11146-1-honnappa.nagarahalli@arm.com> <20191220044524.32910-1-honnappa.nagarahalli@arm.com> Subject: [dpdk-dev] [PATCH v7 09/17] test/ring: removed unused variable synchro 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove unused variable synchro Signed-off-by: Honnappa Nagarahalli Reviewed-by: Gavin Hu --- app/test/test_ring.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.1 diff --git a/app/test/test_ring.c b/app/test/test_ring.c index a082f0137..57fbd897c 100644 --- a/app/test/test_ring.c +++ b/app/test/test_ring.c @@ -57,8 +57,6 @@ #define RING_SIZE 4096 #define MAX_BULK 32 -static rte_atomic32_t synchro; - #define TEST_RING_VERIFY(exp) \ if (!(exp)) { \ printf("error at %s:%d\tcondition " #exp " failed\n", \ @@ -665,8 +663,6 @@ test_ring(void) if (test_ring_basic_ex() < 0) goto test_fail; - rte_atomic32_init(&synchro); - /* Burst and bulk operations with sp/sc, mp/mc and default */ for (j = TEST_RING_BL; j <= TEST_RING_BR; j <<= 1) for (i = TEST_RING_N; i <= TEST_RING_M; i <<= 1)