mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
resctrl: Fix testing line
Forgot to remove this before pushing. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
ceb6725d94
commit
bf8c8755dc
@ -2166,10 +2166,8 @@ virResctrlAllocCopyMemBW(virResctrlAllocPtr dst,
|
||||
return -1;
|
||||
|
||||
for (i = 0; i < src_bw->nbandwidths; i++) {
|
||||
if (dst_bw->bandwidths[i]) {
|
||||
*dst_bw->bandwidths[i] = 123;
|
||||
if (dst_bw->bandwidths[i])
|
||||
continue;
|
||||
}
|
||||
if (VIR_ALLOC(dst_bw->bandwidths[i]) < 0)
|
||||
return -1;
|
||||
*dst_bw->bandwidths[i] = *src_bw->bandwidths[i];
|
||||
|
Loading…
Reference in New Issue
Block a user