kernel/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_ofld.c
.. .. @@ -301,8 +301,7 @@ 301 301 302 302 if (WARN_ON_ONCE(IS_ERR(vport))) { 303 303 esw_warn(esw->dev, "vport(%d) invalid!\n", vport_num); 304 - err = PTR_ERR(vport);305 - goto out;304 + return PTR_ERR(vport);306 305 } 307 306 308 307 esw_acl_ingress_ofld_rules_destroy(esw, vport);