hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_ofld.c
....@@ -301,8 +301,7 @@
301301
302302 if (WARN_ON_ONCE(IS_ERR(vport))) {
303303 esw_warn(esw->dev, "vport(%d) invalid!\n", vport_num);
304
- err = PTR_ERR(vport);
305
- goto out;
304
+ return PTR_ERR(vport);
306305 }
307306
308307 esw_acl_ingress_ofld_rules_destroy(esw, vport);