mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
phyp: Remove deadcode referencing exit_status
Remove remnants from commit id '89144534'
This commit is contained in:
parent
f587c27768
commit
d507b97185
@ -3329,7 +3329,6 @@ phypDomainLookupByID(virConnectPtr conn, int lpar_id)
|
|||||||
LIBSSH2_SESSION *session = connection_data->session;
|
LIBSSH2_SESSION *session = connection_data->session;
|
||||||
virDomainPtr dom = NULL;
|
virDomainPtr dom = NULL;
|
||||||
char *managed_system = phyp_driver->managed_system;
|
char *managed_system = phyp_driver->managed_system;
|
||||||
int exit_status = 0;
|
|
||||||
unsigned char lpar_uuid[VIR_UUID_BUFLEN];
|
unsigned char lpar_uuid[VIR_UUID_BUFLEN];
|
||||||
|
|
||||||
char *lpar_name = phypGetLparNAME(session, managed_system, lpar_id,
|
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)
|
if (phypGetLparUUID(lpar_uuid, lpar_id, conn) == -1)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if (exit_status < 0)
|
|
||||||
goto cleanup;
|
|
||||||
|
|
||||||
dom = virGetDomain(conn, lpar_name, lpar_uuid);
|
dom = virGetDomain(conn, lpar_name, lpar_uuid);
|
||||||
|
|
||||||
if (dom)
|
if (dom)
|
||||||
|
Loading…
Reference in New Issue
Block a user