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 25C1145F13 for ; Sun, 22 Dec 2024 13:58:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7915E4067C; Sun, 22 Dec 2024 13:58:07 +0100 (CET) Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) by mails.dpdk.org (Postfix) with ESMTP id 5A408402E7; Sun, 22 Dec 2024 13:57:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734872276; x=1766408276; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HlwVapTm9FcG3z1JrLvDdzWAqzXKAepxPSRmJnFZmdE=; b=XCEEfnItj2LIByPhi83iDodxcWp/lsDYZsIb1ZMt3SqSdlmHauT094dZ 2Onw+OnF86IE0em/Cw0UiehFpnlopaoWoCfQ/J3kmxi/zqz0vzpM0UKJh 4VRWjYJozcMMwnbNT2D047W8lIfX13RnPDQKbezmczuQjugV3WUKiJUHM s=; X-CSE-ConnectionGUID: nTSCMCx0Q1W0F9MI/q6ZUA== X-CSE-MsgGUID: uy415/2oTpWnd0nqVEdJwg== X-IronPort-AV: E=Sophos;i="6.12,255,1728943200"; d="scan'208";a="28290603" Received: from waha.eurecom.fr (HELO smtps.eurecom.fr) ([10.3.2.236]) by drago1i.eurecom.fr with ESMTP; 22 Dec 2024 13:57:56 +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 ED964259A; Sun, 22 Dec 2024 13:57:55 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Ariel Otilibili , Matan Azrad , Viacheslav Ovsiienko Subject: [PATCH v4 06/11] net/mlx4: remove unused rte_bitmap_free() Date: Sun, 22 Dec 2024 13:49:26 +0100 Message-ID: <20241222125725.1532157-7-otilibil@eurecom.fr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241222125725.1532157-1-otilibil@eurecom.fr> References: <20241222125725.1532157-1-otilibil@eurecom.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Depends on d5941e7269 ("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: Matan Azrad Cc: Viacheslav Ovsiienko --- drivers/net/mlx4/mlx4_mr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/mlx4/mlx4_mr.c b/drivers/net/mlx4/mlx4_mr.c index 2251c624ff..67a2a66481 100644 --- a/drivers/net/mlx4/mlx4_mr.c +++ b/drivers/net/mlx4/mlx4_mr.c @@ -471,7 +471,6 @@ mr_free(struct mlx4_mr *mr) DEBUG("freeing MR(%p):", (void *)mr); if (mr->ibv_mr != NULL) claim_zero(mlx4_glue->dereg_mr(mr->ibv_mr)); - rte_bitmap_free(mr->ms_bmp); rte_free(mr); } -- 2.47.1