Coverity issue: 384444 Fixes: a62ec90522a6 ("net/sfc: add port representors infrastructure") Signed-off-by: Ariel Otilibili <otili...@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