api: Remove check on iothread_id arg in virDomainPinIOThread

Allow 0 as an iothread_id and force the hypervisor to handle.
The qemuDomainPinIOThread API will look up the iothread_id of
0 and not find it and message that anyway.
This commit is contained in:
John Ferlan 2015-08-13 08:44:32 -04:00
parent 4153a74105
commit d64b81a8f0

View File

@ -7926,7 +7926,6 @@ virDomainPinIOThread(virDomainPtr domain,
conn = domain->conn;
virCheckReadOnlyGoto(conn->flags, error);
virCheckPositiveArgGoto(iothread_id, error);
virCheckNonNullArgGoto(cpumap, error);
virCheckPositiveArgGoto(maplen, error);