[v2,2/3] drivers/net/sfc: remove unused value
Checks
Commit Message
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(-)
@@ -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 */