From: Ariel Otilibili <otilibil@eurecom.fr>
To: dev@dpdk.org
Cc: Thomas Monjalon <thomas@monjalon.net>,
David Marchand <david.marchand@redhat.com>,
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
Ori Kam <orika@nvidia.com>,
stable@dpdk.org, Ariel Otilibili <otilibil@eurecom.fr>
Subject: [PATCH 2/2] drivers/net/sfc: remove unused value
Date: Fri, 13 Dec 2024 22:41:55 +0100 [thread overview]
Message-ID: <20241213214951.61974-3-otilibil@eurecom.fr> (raw)
In-Reply-To: <20241213214951.61974-1-otilibil@eurecom.fr>
Coverity issue: 384444
Fixes: a62ec90522a ("net/sfc: add port representors infrastructure")
Cc: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Cc: stable@dpdk.org
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 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
prev parent reply other threads:[~2024-12-13 21:50 UTC|newest]
Thread overview: 3+ 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 ` Ariel Otilibili [this message]
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=20241213214951.61974-3-otilibil@eurecom.fr \
--to=otilibil@eurecom.fr \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=orika@nvidia.com \
--cc=stable@dpdk.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).