mlxsw: spectrum_buffers: remove unneeded semicolon
authorYueHaibing <yuehaibing@huawei.com>
Fri, 25 Oct 2019 09:09:48 +0000 (17:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Oct 2019 23:36:07 +0000 (16:36 -0700)
Remove excess semicolon after closing parenthesis.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c

index 5fd9a72c8471454633e9ac6843ef1c92873c540f..33a978af80d69abea24ce9ed7d11a3b571f79ed9 100644 (file)
@@ -1044,12 +1044,12 @@ int mlxsw_sp_sb_pool_set(struct mlxsw_core *mlxsw_core,
        if (pr->freeze_mode && pr->mode != mode) {
                NL_SET_ERR_MSG_MOD(extack, "Changing this pool's threshold type is forbidden");
                return -EINVAL;
-       };
+       }
 
        if (pr->freeze_size && pr->size != size) {
                NL_SET_ERR_MSG_MOD(extack, "Changing this pool's size is forbidden");
                return -EINVAL;
-       };
+       }
 
        return mlxsw_sp_sb_pr_write(mlxsw_sp, pool_index, mode,
                                    pool_size, false);