Since xch may not be valid (enough) any longer, xc_interface_close
already logs anything of any use before it tears down the integrated
logger so there is no need to log any further in the application via
that path.
CID:
1056203
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
xs_close(paging->xs_handle);
/* Close connection to Xen */
- rc = xc_interface_close(xch);
- if ( rc != 0 )
- {
- ERROR("Error closing connection to xen");
- }
+ xc_interface_close(xch);
}
static void get_request(struct vm_event *vm_event, vm_event_request_t *req)