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 755B646091; Wed, 15 Jan 2025 13:12:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62920402A0; Wed, 15 Jan 2025 13:12:46 +0100 (CET) Received: from mail-ed1-f99.google.com (mail-ed1-f99.google.com [209.85.208.99]) by mails.dpdk.org (Postfix) with ESMTP id AAD96402A0 for ; Wed, 15 Jan 2025 13:12:44 +0100 (CET) Received: by mail-ed1-f99.google.com with SMTP id 4fb4d7f45d1cf-5d88c355e0dso11727969a12.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=uwvvn7syGwhbvN2BHPGwR3MT91LoAZV2N3WQg5uC7NlbJQkM3/maShxMgR5ZQ+SYiH nlv8x7WE6EVVxowpBqKgAytWtDuStdhWlr0KsV5EUuJ8IAn2/haGMn6j7mu5X6GCEAZ4 gs2/+C1m/T7wuNy7MpO3bafXbL7lWJpcU6vd6N4gWWsJJGD7Ab8TdrEczQX0zct2fApU KnLwnFA65bjw9AnGD3v7h84NMM/1pZyfFW7bq+G9aX6QgosXTZl3DOoW+4lVigVvla7z jHSSk7Tg9exODfkL6ZQLBJjbFcT/tvs6DM+bNubUp2ZFxiKSW79lvU83vJnXm/1fGdLM TLFg== X-Gm-Message-State: AOJu0Yx8jVun9Rtn/L+hDHZAoiJSzKPPhTJy2IafQCiGdQFml3wdzDFu 3X9ABncY+ElMkk7GL3xc/YtBLvUC+FjXc22lAG7a3zQMxvelvODChdmRyyefwgK8zKeyBoY2s1t bz4hEln/EZp0fyEh8u/mNtg3Zy7X87b7DXbgucjn9 X-Gm-Gg: ASbGncuYgyJT0dxZxi4OmyE4ccmQoIwgvfmctvEDkH+W5w/4qDKYcIXvnkEB7KJGXSc /FqzZQ1ad6lVODr7mXEao2B6NhYsj+T86amai5COY+uXq/EkVPBos6btjuySSBi5S+CQRfXXeLd HQwJvLooPRNGUyLEeyLEpfBy94egOVddi/ozNqpoJ42dRgiZddMAh69eqVdbd0goFutC4pxi1J4 QP1dE8VcmC20X0OLWk0DfjJrfR5lFxqCppObENCZX+9Pf0RFp8DAQko70eTDdJHCt14DBHN4+Qr QV3uKgvlZT8dRmUKmfDxKebQrw== 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: 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 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