[libvirt] [PATCH] xm_internal.c: remove two ret=... dead stores

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Two more dead stores:

>From 92bf654b02e5c1eb3334fc13ef52f5b0679512ea Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@xxxxxxxxxx>
Date: Fri, 4 Sep 2009 17:22:19 +0200
Subject: [PATCH] xm_internal.c: remove two ret=... dead stores

* src/xm_internal.c (xenXMDomainCreate): Remove dead stores.
---
 src/xm_internal.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xm_internal.c b/src/xm_internal.c
index e675672..e948fa0 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);
--
1.6.4.2.409.g85dc3

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]