提交 d507b971 编写于 作者: J John Ferlan 提交者: Eric Blake

phyp: Remove deadcode referencing exit_status

Remove remnants from commit id '89144534'
上级 f587c277
...@@ -3329,7 +3329,6 @@ phypDomainLookupByID(virConnectPtr conn, int lpar_id) ...@@ -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) ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册