|
@@ -2235,14 +2235,8 @@ int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context)
|
|
|
handle.context, handle.resource,
|
|
|
result);
|
|
|
|
|
|
- if (entry->vmci_page_files)
|
|
|
- qp_host_unregister_user_memory(entry->produce_q,
|
|
|
- entry->
|
|
|
- consume_q);
|
|
|
- else
|
|
|
- qp_host_unregister_user_memory(entry->produce_q,
|
|
|
- entry->
|
|
|
- consume_q);
|
|
|
+ qp_host_unregister_user_memory(entry->produce_q,
|
|
|
+ entry->consume_q);
|
|
|
|
|
|
}
|
|
|
|