net/mlx5e: Remove redundant comment about goto slow path
authorRoi Dayan <roid@mellanox.com>
Thu, 13 Feb 2020 12:19:50 +0000 (14:19 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 28 Feb 2020 00:40:42 +0000 (16:40 -0800)
The code is self explanatory and makes the comment redundant.

Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c

index 333c3ec59b174030c6d67c4bbb4ac7422c98071d..4eb2f2392d2d6dbf456ab213401123c8cdc4cbdd 100644 (file)
@@ -1241,12 +1241,10 @@ mlx5e_tc_add_fdb_flow(struct mlx5e_priv *priv,
         * (1) there's no error
         * (2) there's an encap action and we don't have valid neigh
         */
-       if (!encap_valid) {
-               /* continue with goto slow path rule instead */
+       if (!encap_valid)
                flow->rule[0] = mlx5e_tc_offload_to_slow_path(esw, flow, &parse_attr->spec);
-       } else {
+       else
                flow->rule[0] = mlx5e_tc_offload_fdb_rules(esw, flow, &parse_attr->spec, attr);
-       }
 
        if (IS_ERR(flow->rule[0]))
                return PTR_ERR(flow->rule[0]);