mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00: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;
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user