From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 30BF345F0A; Sun, 22 Dec 2024 02:34:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A4E34065B; Sun, 22 Dec 2024 02:34:23 +0100 (CET) Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) by mails.dpdk.org (Postfix) with ESMTP id 969824060C; Sun, 22 Dec 2024 02:34:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734831261; x=1766367261; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=KypsUdOoNguPfVEnWr1H8xr1+HHlAeQP1azjWV/ofjY=; b=wG2dbx2zVjDFnRRt7Q5oc3lwlw+plr92ubmMfhuBbp1HkVPp23WB0WgK K5Ofby5eFe0zzyZNbm8clPUCAnKkeTObfGNVi4dYSMwyr9pQP2UytU2Wh RoW9LJ42rdQaydmCgRLpRd/8aVTYJeexWL8OVl9D3L0yjtzQDidbRkbmk 4=; X-CSE-ConnectionGUID: TFzOPMvdTLOAbric/+7OcA== X-CSE-MsgGUID: i+Rz+cXMQ4mowUtjNNCB5Q== X-IronPort-AV: E=Sophos;i="6.12,254,1728943200"; d="scan'208";a="28289475" Received: from waha.eurecom.fr (HELO smtps.eurecom.fr) ([10.3.2.236]) by drago1i.eurecom.fr with ESMTP; 22 Dec 2024 02:34:21 +0100 Received: from localhost.localdomain (88-183-119-157.subs.proxad.net [88.183.119.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtps.eurecom.fr (Postfix) with ESMTPSA id 26E8C257F; Sun, 22 Dec 2024 02:34:21 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Ariel Otilibili , Dariusz Sosnowski , Viacheslav Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad Subject: [PATCH v3 07/10] common/mlx5: remove unused rte_bitmap_free() Date: Sun, 22 Dec 2024 02:19:59 +0100 Message-ID: <20241222013328.1362225-8-otilibil@eurecom.fr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241222013328.1362225-1-otilibil@eurecom.fr> References: <20241222013328.1362225-1-otilibil@eurecom.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Depends on 17dd8149d6 ("devtools/cocci,lib/eal: remove unused rte_bitmap_free()"). Fixes: 06c047b680 ("remove unnecessary null checks") Signed-off-by: Ariel Otilibili --- Cc: stable@dpdk.org Cc: Dariusz Sosnowski Cc: Viacheslav Ovsiienko Cc: Bing Zhao Cc: Ori Kam Cc: Suanming Mou Cc: Matan Azrad --- drivers/common/mlx5/mlx5_common_mr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_common_mr.c b/drivers/common/mlx5/mlx5_common_mr.c index 50922ad398..dee0b521dd 100644 --- a/drivers/common/mlx5/mlx5_common_mr.c +++ b/drivers/common/mlx5/mlx5_common_mr.c @@ -494,7 +494,6 @@ mlx5_mr_free(struct mlx5_mr *mr, mlx5_dereg_mr_t dereg_mr_cb) return; DRV_LOG(DEBUG, "freeing MR(%p):", (void *)mr); dereg_mr_cb(&mr->pmd_mr); - rte_bitmap_free(mr->ms_bmp); mlx5_free(mr); } -- 2.47.1