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 5C2D545E94 for ; Fri, 13 Dec 2024 22:50:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3EFE64068E; Fri, 13 Dec 2024 22:50:30 +0100 (CET) Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) by mails.dpdk.org (Postfix) with ESMTP id B452640E50; Fri, 13 Dec 2024 22:50:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734126630; x=1765662630; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mWtiZN4aELx5MUcUlSU9WNjBaqHI0gt7AaN3fzPrj+A=; b=l+zYpzKouSU11eG9dn97tg4CSClalZ63FygAB+XP43BDhFkzx6VQwX/M cBOTDK4sQ5yCejK3h/KqtPPjZoptIzdejpNX5ZW47v9FVeB8qfML4WhmB 9lM+MAQBdUTzEIVZDjCmfFtK00IBDsX9j69M4Hj3dOMEoPcEk7pdbvLUK Y=; X-CSE-ConnectionGUID: WOcMmPHIS2qfYW6Nn18lbw== X-CSE-MsgGUID: JzLpIDzuTVuRiVC7j1bGHQ== X-IronPort-AV: E=Sophos;i="6.12,232,1728943200"; d="scan'208";a="28178941" Received: from waha.eurecom.fr (HELO smtps.eurecom.fr) ([10.3.2.236]) by drago1i.eurecom.fr with ESMTP; 13 Dec 2024 22:50:30 +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 5F9B22C10; Fri, 13 Dec 2024 22:50:28 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: Thomas Monjalon , David Marchand , Andrew Rybchenko , Ori Kam , stable@dpdk.org, Ariel Otilibili Subject: [PATCH 2/2] drivers/net/sfc: remove unused value Date: Fri, 13 Dec 2024 22:41:55 +0100 Message-ID: <20241213214951.61974-3-otilibil@eurecom.fr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241213214951.61974-1-otilibil@eurecom.fr> References: <20241213214951.61974-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 Coverity issue: 384444 Fixes: a62ec90522a ("net/sfc: add port representors infrastructure") Cc: Andrew Rybchenko Cc: stable@dpdk.org Signed-off-by: Ariel Otilibili --- drivers/net/sfc/sfc_repr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/sfc/sfc_repr.c b/drivers/net/sfc/sfc_repr.c index c2e5d4eb9e..a0712bf9fb 100644 --- a/drivers/net/sfc/sfc_repr.c +++ b/drivers/net/sfc/sfc_repr.c @@ -769,9 +769,7 @@ static void sfc_repr_close(struct sfc_repr *sr) { SFC_ASSERT(sfc_repr_lock_is_locked(sr)); - SFC_ASSERT(sr->state == SFC_ETHDEV_CONFIGURED); - sr->state = SFC_ETHDEV_CLOSING; /* Put representor close actions here */ -- 2.47.1