xm_internal.c: remove two ret=... dead stores

* src/xm_internal.c (xenXMDomainCreate): Remove dead stores.
This commit is contained in:
Jim Meyering 2009-09-04 17:22:19 +02:00
parent 577ab7bae0
commit bc8bcdcb24

View File

@ -1851,10 +1851,10 @@ int xenXMDomainCreate(virDomainPtr domain) {
goto error;
domain->id = ret;
if ((ret = xend_wait_for_devices(domain->conn, domain->name)) < 0)
if (xend_wait_for_devices(domain->conn, domain->name) < 0)
goto error;
if ((ret = xenDaemonDomainResume(domain)) < 0)
if (xenDaemonDomainResume(domain) < 0)
goto error;
xenUnifiedUnlock(priv);