resctrl: Fix testing line

Forgot to remove this before pushing.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2019-03-12 09:53:48 +01:00
parent ceb6725d94
commit bf8c8755dc

View File

@ -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];