From: Ariel Otilibili <otilibil@eurecom.fr>
To: dev@dpdk.org
Cc: stable@dpdk.org, Stephen Hemminger <stephen@networkplumber.org>,
Thomas Monjalon <thomas@monjalon.net>,
David Marchand <david.marchand@redhat.com>,
Ariel Otilibili <otilibil@eurecom.fr>,
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Subject: [PATCH v2 2/3] drivers/net/sfc: remove unused value
Date: Wed, 15 Jan 2025 13:11:51 +0100 [thread overview]
Message-ID: <20250115121152.487360-3-otilibil@eurecom.fr> (raw)
In-Reply-To: <20250115121152.487360-1-otilibil@eurecom.fr>
Coverity issue: 384444
Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure")
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
---
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
next prev parent reply other threads:[~2025-01-15 12:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-13 21:41 [PATCH 0/2] clear out Coverity issues 384444 & 451221 Ariel Otilibili
2024-12-13 21:41 ` [PATCH 1/2] examples/flow_filtering: remove unused variable Ariel Otilibili
2024-12-13 21:41 ` [PATCH 2/2] drivers/net/sfc: remove unused value Ariel Otilibili
2025-01-14 18:47 ` Stephen Hemminger
2025-01-14 19:54 ` Ariel Otilibili-Anieli
2025-01-14 23:34 ` Stephen Hemminger
2025-01-15 10:51 ` Thomas Monjalon
2025-01-15 12:11 ` [PATCH v2 0/3] clear out Coverity issues 384444 & 451221 Ariel Otilibili
2025-01-15 12:11 ` [PATCH v2 1/3] examples/flow_filtering: remove unused variable Ariel Otilibili
2025-01-15 12:11 ` Ariel Otilibili [this message]
2025-01-15 12:11 ` [PATCH v2 3/3] Update .mailmap Ariel Otilibili
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250115121152.487360-3-otilibil@eurecom.fr \
--to=otilibil@eurecom.fr \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
--cc=stephen@networkplumber.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).