提交 bf8c8755 编写于 作者: M Martin Kletzander

resctrl: Fix testing line

Forgot to remove this before pushing.
Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 ceb6725d
...@@ -2166,10 +2166,8 @@ virResctrlAllocCopyMemBW(virResctrlAllocPtr dst, ...@@ -2166,10 +2166,8 @@ virResctrlAllocCopyMemBW(virResctrlAllocPtr dst,
return -1; return -1;
for (i = 0; i < src_bw->nbandwidths; i++) { for (i = 0; i < src_bw->nbandwidths; i++) {
if (dst_bw->bandwidths[i]) { if (dst_bw->bandwidths[i])
*dst_bw->bandwidths[i] = 123;
continue; continue;
}
if (VIR_ALLOC(dst_bw->bandwidths[i]) < 0) if (VIR_ALLOC(dst_bw->bandwidths[i]) < 0)
return -1; return -1;
*dst_bw->bandwidths[i] = *src_bw->bandwidths[i]; *dst_bw->bandwidths[i] = *src_bw->bandwidths[i];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册