From: Jim Meyering Date: Fri, 4 Sep 2009 15:22:19 +0000 (+0200) Subject: xm_internal.c: remove two ret=... dead stores X-Git-Tag: v0.7.1~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc8bcdcb24a97f5c613b664f75d49a109ac3466c;p=thirdparty%2Flibvirt.git xm_internal.c: remove two ret=... dead stores * src/xm_internal.c (xenXMDomainCreate): Remove dead stores. --- diff --git a/src/xm_internal.c b/src/xm_internal.c index e6756722a4..e948fa0efd 100644 --- a/src/xm_internal.c +++ b/src/xm_internal.c @@ -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);