]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
phyp: Remove deadcode referencing exit_status
authorJohn Ferlan <jferlan@redhat.com>
Tue, 8 Jan 2013 21:21:49 +0000 (16:21 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 9 Jan 2013 00:03:15 +0000 (17:03 -0700)
Remove remnants from commit id '89144534'

src/phyp/phyp_driver.c

index 2dabd19ccfd9224f6f713f7de97da15a2acd7591..f89871fc2b5606740d12aa73f5acf9049d40a81c 100644 (file)
@@ -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)