From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id C05C9A0548;
	Mon, 30 Aug 2021 22:16:24 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A65CD41134;
	Mon, 30 Aug 2021 22:16:24 +0200 (CEST)
Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com
 [67.231.156.173])
 by mails.dpdk.org (Postfix) with ESMTP id 60BF041134
 for <dev@dpdk.org>; Mon, 30 Aug 2021 22:16:23 +0200 (CEST)
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1])
 by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 17UAuUE4011588; 
 Mon, 30 Aug 2021 13:16:22 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;
 h=from : to : cc :
 subject : date : message-id : mime-version : content-transfer-encoding :
 content-type; s=pfpt0220; bh=9SVB3I4oLFLG+OpqBMSfJ1iJRwIS1SEowfF3TBxwxxE=;
 b=Kpq8uKqifopewmH2R+DGXWI2WXFh83j99HE29na4YXmff/QEe4IbPM9qjSe1Z3M6gCSu
 j/tab6kmaWprtpGKQ0y1h56sjyLAbXxDsk+g6wx1mfmSwxK6MXf7H7KQSewiGW+ZSnm7
 TWX2eIvJIIxLflctP7ufS8VtEMoiQ7oYhZv93exwHHsDWXA70kAKmLBlNYAn1VpI50bl
 v0wFfym8903S9Rkwd531lvTYEgQRq2xcGCIDiRBEF2iEzSqPciISmomUca4JfuF49/6n
 go4NKLhV6seKJkJS8zFwBcln5qcgxo1S89LDUbCuiJdJdVFo7DWEQbyTaYOxgFUYrk5t wQ== 
Received: from dc5-exch01.marvell.com ([199.233.59.181])
 by mx0b-0016f401.pphosted.com with ESMTP id 3arj9m3twf-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);
 Mon, 30 Aug 2021 13:16:22 -0700
Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com
 (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18;
 Mon, 30 Aug 2021 13:16:20 -0700
Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com
 (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend
 Transport; Mon, 30 Aug 2021 13:16:20 -0700
Received: from localhost.localdomain (unknown [10.28.34.29])
 by maili.marvell.com (Postfix) with ESMTP id 451D83F7078;
 Mon, 30 Aug 2021 13:16:19 -0700 (PDT)
From: Shijith Thotton <sthotton@marvell.com>
To: <dev@dpdk.org>
CC: Shijith Thotton <sthotton@marvell.com>, <jerinj@marvell.com>,
 <pbhagavatula@marvell.com>,
 Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
Date: Tue, 31 Aug 2021 01:42:59 +0530
Message-ID: <90e70813b8e88170c5e31e57f9460e98b467ad95.1630354334.git.sthotton@marvell.com>
X-Mailer: git-send-email 2.25.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Proofpoint-GUID: HLiYvgTTWqRvFXPOC6MxwXl4493K0YHf
X-Proofpoint-ORIG-GUID: HLiYvgTTWqRvFXPOC6MxwXl4493K0YHf
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475
 definitions=2021-08-30_06,2021-08-30_01,2020-04-07_01
Subject: [dpdk-dev] [PATCH] app/test: fix event timer adapter create unit
 test
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Removed freeing of unallocated mempool in event timer adapter create
unit test.

Fixes: d1f3385d0076 ("test: add event timer adapter auto-test")

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
---
 app/test/test_event_timer_adapter.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app/test/test_event_timer_adapter.c b/app/test/test_event_timer_adapter.c
index 121c2d93e8..12c00e678e 100644
--- a/app/test/test_event_timer_adapter.c
+++ b/app/test/test_event_timer_adapter.c
@@ -1070,8 +1070,6 @@ adapter_create(void)
 	TEST_ASSERT_SUCCESS(rte_event_timer_adapter_free(adapter),
 			"Failed to free adapter");
 
-	rte_mempool_free(eventdev_test_mempool);
-
 	return TEST_SUCCESS;
 }
 
-- 
2.25.1