mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
vmci: Remove unused variables.
This commit is contained in:
parent
a7d876f701
commit
0768536d19
|
@ -717,14 +717,10 @@ vmci_doorbell_notify_as_guest(struct vmci_handle handle,
|
|||
int
|
||||
vmci_doorbell_notify(struct vmci_handle dst, vmci_privilege_flags priv_flags)
|
||||
{
|
||||
struct vmci_handle src;
|
||||
|
||||
if (VMCI_HANDLE_INVALID(dst) ||
|
||||
(priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS))
|
||||
return (VMCI_ERROR_INVALID_ARGS);
|
||||
|
||||
src = VMCI_INVALID_HANDLE;
|
||||
|
||||
return (vmci_doorbell_notify_as_guest(dst, priv_flags));
|
||||
}
|
||||
|
||||
|
|
|
@ -148,8 +148,6 @@ vmci_qpair_alloc(struct vmci_qpair **qpair, struct vmci_handle *handle,
|
|||
uint32_t flags, vmci_privilege_flags priv_flags)
|
||||
{
|
||||
struct vmci_qpair *my_qpair;
|
||||
vmci_event_release_cb wakeup_cb;
|
||||
void *client_data;
|
||||
int retval;
|
||||
|
||||
/*
|
||||
|
@ -182,9 +180,6 @@ vmci_qpair_alloc(struct vmci_qpair **qpair, struct vmci_handle *handle,
|
|||
my_qpair->flags = flags;
|
||||
my_qpair->priv_flags = priv_flags;
|
||||
|
||||
client_data = NULL;
|
||||
wakeup_cb = NULL;
|
||||
|
||||
retval = vmci_queue_pair_alloc(handle, &my_qpair->produce_q,
|
||||
my_qpair->produce_q_size, &my_qpair->consume_q,
|
||||
my_qpair->consume_q_size, my_qpair->peer, my_qpair->flags,
|
||||
|
|
Loading…
Reference in a new issue