xend_internal.c: Remove two dead stores to "ret"

* src/xend_internal.c (xenDaemonCreateXML): Don't set "ret" after
last use.
This commit is contained in:
Jim Meyering 2009-09-04 19:14:09 +02:00
parent 6f91c5b5ea
commit e2cd26ee70

View File

@ -4028,10 +4028,10 @@ xenDaemonCreateXML(virConnectPtr conn, const char *xmlDesc,
if (!(dom = virDomainLookupByName(conn, def->name)))
goto error;
if ((ret = xend_wait_for_devices(conn, def->name)) < 0)
if (xend_wait_for_devices(conn, def->name) < 0)
goto error;
if ((ret = xenDaemonDomainResume(dom)) < 0)
if (xenDaemonDomainResume(dom) < 0)
goto error;
virDomainDefFree(def);