]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
xm_internal.c: remove two ret=... dead stores
authorJim Meyering <meyering@redhat.com>
Fri, 4 Sep 2009 15:22:19 +0000 (17:22 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 7 Sep 2009 16:13:42 +0000 (18:13 +0200)
* src/xm_internal.c (xenXMDomainCreate): Remove dead stores.

src/xm_internal.c

index e6756722a41d7593b37a96311baf06c8cc415ea0..e948fa0efd3cc5abc16a38bbd516658e9c576970 100644 (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);