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

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

 



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

--
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]