drivers/net/ethernet/mellanox/mlx5/core/en_main.c:1970:2-3: Unneeded semicolon
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:1959:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Saeed Mahameed <sae...@mellanox.com>
Signed-off-by: Fengguang Wu <fengguang...@intel.com>
---

 en_main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
@@ -1956,7 +1956,7 @@ static int mlx5_vport_link2ifla(u8 esw_l
                return IFLA_VF_LINK_STATE_DISABLE;
        case MLX5_ESW_VPORT_ADMIN_STATE_UP:
                return IFLA_VF_LINK_STATE_ENABLE;
-       };
+       }
        return IFLA_VF_LINK_STATE_AUTO;
 }
 
@@ -1967,7 +1967,7 @@ static int mlx5_ifla_link2vport(u8 ifla_
                return MLX5_ESW_VPORT_ADMIN_STATE_DOWN;
        case IFLA_VF_LINK_STATE_ENABLE:
                return MLX5_ESW_VPORT_ADMIN_STATE_UP;
-       };
+       }
        return MLX5_ESW_VPORT_ADMIN_STATE_AUTO;
 }
 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to