summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/cmd.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-17 16:03:56 +0300
committerDavid S. Miller <davem@davemloft.net>2019-01-18 09:05:42 +0300
commitbec03debe2e5ebc1c8bb811852b6106ce2129d71 (patch)
treee4b72fa83a75ef941cce5f4072b52b4e3cfba71d /drivers/net/ethernet/mellanox/mlx4/cmd.c
parent5c423d71147422a2ba89a3cb4aaf83def2a4cec0 (diff)
downloadlinux-bec03debe2e5ebc1c8bb811852b6106ce2129d71.tar.xz
net/mlx4: remove unneeded semicolon
Remove unneeded semicolon. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/cmd.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/cmd.c b/drivers/net/ethernet/mellanox/mlx4/cmd.c
index e65bc3c95630..c19e74e6ac94 100644
--- a/drivers/net/ethernet/mellanox/mlx4/cmd.c
+++ b/drivers/net/ethernet/mellanox/mlx4/cmd.c
@@ -3274,7 +3274,7 @@ int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_stat
mlx4_warn(dev, "unknown value for link_state %02x on slave %d port %d\n",
link_state, slave, port);
return -EINVAL;
- };
+ }
s_info = &priv->mfunc.master.vf_admin[slave].vport[port];
s_info->link_state = link_state;