[libvirt] [PATCH 1/3] phyp: Remove deadcode referencing exit_status

John Ferlan jferlan at redhat.com
Tue Jan 8 21:21:49 UTC 2013


Remove remnants from commit id '89144534'
---
 src/phyp/phyp_driver.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index 2dabd19..f89871f 100644
--- a/src/phyp/phyp_driver.c
+++ b/src/phyp/phyp_driver.c
@@ -3329,7 +3329,6 @@ phypDomainLookupByID(virConnectPtr conn, int lpar_id)
     LIBSSH2_SESSION *session = connection_data->session;
     virDomainPtr dom = NULL;
     char *managed_system = phyp_driver->managed_system;
-    int exit_status = 0;
     unsigned char lpar_uuid[VIR_UUID_BUFLEN];
 
     char *lpar_name = phypGetLparNAME(session, managed_system, lpar_id,
@@ -3338,9 +3337,6 @@ phypDomainLookupByID(virConnectPtr conn, int lpar_id)
     if (phypGetLparUUID(lpar_uuid, lpar_id, conn) == -1)
         goto cleanup;
 
-    if (exit_status < 0)
-        goto cleanup;
-
     dom = virGetDomain(conn, lpar_name, lpar_uuid);
 
     if (dom)
-- 
1.7.11.7




More information about the libvir-list mailing list