net/mlx4: remove unneeded semicolon
authorYueHaibing <yuehaibing@huawei.com>
Thu, 17 Jan 2019 13:03:56 +0000 (21:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 06:05:42 +0000 (22:05 -0800)
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>
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/mellanox/mlx4/eq.c

index e65bc3c95630a184309e3fad5ce77080d457b750..c19e74e6ac94d9b5d647d38284050af2b2e4bef0 100644 (file)
@@ -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;
 
index 2df92dbd38e101aae78c99a6456aeefc76e4bb64..4953c852c247eff4ddadbe7ce3cd06ecfa80770d 100644 (file)
@@ -820,7 +820,7 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq)
                                  !!(eqe->owner & 0x80) ^
                                  !!(eq->cons_index & eq->nent) ? "HW" : "SW");
                        break;
-               };
+               }
 
                ++eq->cons_index;
                eqes_found = 1;