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 94F7446092 for ; Wed, 15 Jan 2025 13:12:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C41D40395; Wed, 15 Jan 2025 13:12:47 +0100 (CET) Received: from mail-ej1-f98.google.com (mail-ej1-f98.google.com [209.85.218.98]) by mails.dpdk.org (Postfix) with ESMTP id A631E4025F for ; Wed, 15 Jan 2025 13:12:44 +0100 (CET) Received: by mail-ej1-f98.google.com with SMTP id a640c23a62f3a-aaeecbb7309so1243863766b.0 for ; Wed, 15 Jan 2025 04:12:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736943164; x=1737547964; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9ub2AVEFwxWuWdtpRTtQwfAV3LSC4UzSdCx45Th2h2Y=; b=RbO75UgszoWvoTSNPxYmVSZeiP7QnCVKGF25bffo4YtStp4C4zhzHVBR5ClVgBZK6n MPox8wM8q80tSA3f5OOQVblGBYbiV/IHJnr1485w78TyiPBABisj6m9iJejFQ+f/M8oe v0W25XcUnz1HGttVC6kTNjoREOl0rcebyLOunDqcxHfSpD/c+AS0idVFVMAnT8BRGJP4 2Yf0tlgwzehiZW48+pvbxv9oP+L4PC6nF1VB0adirzceHBk7XwU+AQm6PpTYvlXsmjqb yIqFX75kva++7SMhrqODA8PLG42a4QRFTF7H8OWZlE5jWiPXWhB5lnhfD9fWd/XOm3Gr 4cGA== X-Gm-Message-State: AOJu0YzjyC+YNyg/noP7Jj8vS37ST7ZfNRdZl9zVQcD8p3D2yGJdXUbv dTIqWKPIahyporJ29L05NyLL5/wDO4J2rNkayLPE2PKfwFZN2rwR7nmFobu8LWJrrIWWymmXkE/ 2+R1p+JkSVfQqmzxjrSD7Jgdj5zaLCI97 X-Gm-Gg: ASbGncv8k/IGtEqDuWmkeD6kv7P8wZD0xMwX/1qtFakC9AO2yOH0ms+BiQkoyfrQOiE IVMauNa1mEBDsBMnVuGs84PzCjyDrUn/4d7pXXvh+dhucCL9I36Gi3u8FllrxdllZXkAoUzWVVl 8Thyuv+7Llf1mQb4RXcjS5jVuKBWvMS9Vlht2eee+mx2NFspuu7ySkPuTLwFxbLSWQrEtVbP82I 3gx0uNbfrgBpjCR0+/c/5Iml30fUcl+q+QKcqs6wRwbGVqph0BMx2KHbKfYJTiinfZXK3CBhT/a eukeV6j+iiVh+P1NtWyaU3LeCg== X-Google-Smtp-Source: AGHT+IFIl+1DGkLWnq+qudxoH3h8/2M+ggUJXVvZ55CfX1nJQl4vk2G0L/GyaAwdkNTZgUipzdqDaHvR+f3Q X-Received: by 2002:a17:907:d9e:b0:aae:85ad:6d6b with SMTP id a640c23a62f3a-ab2ab748edfmr2825100666b.34.1736943164224; Wed, 15 Jan 2025 04:12:44 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id a640c23a62f3a-ab2c90638f9sm62377766b.13.2025.01.15.04.12.44; Wed, 15 Jan 2025 04:12:44 -0800 (PST) X-Relaying-Domain: 6wind.com Received: from localhost (rainbow.dev.6wind.com [10.17.1.165]) by smtpservice.6wind.com (Postfix) with ESMTP id 070A210E51; Wed, 15 Jan 2025 13:12:44 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Stephen Hemminger , Thomas Monjalon , David Marchand , Ariel Otilibili , Andrew Rybchenko Subject: [PATCH v2 2/3] drivers/net/sfc: remove unused value Date: Wed, 15 Jan 2025 13:11:51 +0100 Message-Id: <20250115121152.487360-3-otilibil@eurecom.fr> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20250115121152.487360-1-otilibil@eurecom.fr> References: <20241213214951.61974-1-otilibil@eurecom.fr> <20250115121152.487360-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: a62ec90522a6 ("net/sfc: add port representors infrastructure") 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 c2e5d4eb9e28..a0712bf9fb90 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.30.2