mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
domain_cgroup: Don't put semicolon at the end of VIR_GET_LIMIT_PARAMETER macro
In domain_cgroup.c there's VIR_GET_LIMIT_PARAMETER macro which has a semicolon at the end of its declaration. Well, remove it so that the places where macro is used have to put the semicolon explicitly. This helps with automatic reformatting (at least in vim). Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
782ef1a992
commit
a269fae099
@ -212,11 +212,11 @@ virDomainCgroupSetMemoryLimitParameters(virCgroup *cgroup,
|
|||||||
return -1; \
|
return -1; \
|
||||||
\
|
\
|
||||||
if (rc == 1) \
|
if (rc == 1) \
|
||||||
set_ ## VALUE = true;
|
set_ ## VALUE = true
|
||||||
|
|
||||||
VIR_GET_LIMIT_PARAMETER(VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT, swap_hard_limit)
|
VIR_GET_LIMIT_PARAMETER(VIR_DOMAIN_MEMORY_SWAP_HARD_LIMIT, swap_hard_limit);
|
||||||
VIR_GET_LIMIT_PARAMETER(VIR_DOMAIN_MEMORY_HARD_LIMIT, hard_limit)
|
VIR_GET_LIMIT_PARAMETER(VIR_DOMAIN_MEMORY_HARD_LIMIT, hard_limit);
|
||||||
VIR_GET_LIMIT_PARAMETER(VIR_DOMAIN_MEMORY_SOFT_LIMIT, soft_limit)
|
VIR_GET_LIMIT_PARAMETER(VIR_DOMAIN_MEMORY_SOFT_LIMIT, soft_limit);
|
||||||
|
|
||||||
#undef VIR_GET_LIMIT_PARAMETER
|
#undef VIR_GET_LIMIT_PARAMETER
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user