forked from Minki/linux
mlxsw: spectrum_buffers: remove unneeded semicolon
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>
This commit is contained in:
parent
eb8b707710
commit
acf5133b1d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user