qemu: remove useless error check

Excerpt from the virCommandAddArgBuffer() description: "Correctly
transfers memory errors or contents from buf to cmd."

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2014-07-02 17:07:03 +02:00
parent cee22001d3
commit 92ff464bbb

View File

@ -6412,9 +6412,6 @@ qemuBuildNumaArgStr(const virDomainDef *def, virCommandPtr cmd)
virBufferAdd(&buf, cpumask, -1);
virBufferAsprintf(&buf, ",mem=%d", cellmem);
if (virBufferCheckError(&buf) < 0)
goto cleanup;
virCommandAddArgBuffer(cmd, &buf);
}
ret = 0;