Skip to content

Commit

Permalink
Remove unused OvpnPeerUninit function
Browse files Browse the repository at this point in the history
Signed-off-by: Lev Stipakov <[email protected]>
  • Loading branch information
lstipakov committed Sep 29, 2022
1 parent 1679f79 commit 9da7ae3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
11 changes: 0 additions & 11 deletions peer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,3 @@ OvpnPeerSwapKeys(POVPN_DEVICE device)

return STATUS_SUCCESS;
}

_Use_decl_annotations_
VOID
OvpnPeerUninit(POVPN_DEVICE device)
{
LOG_IF_NOT_NT_SUCCESS(OvpnPeerDel(device));

LOG_INFO("Uninitializing device");

OvpnAdapterSetLinkState(OvpnGetAdapterContext(device->Adapter), MediaConnectStateDisconnected);
}
5 changes: 0 additions & 5 deletions peer.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,3 @@ _Must_inspect_result_
_Requires_exclusive_lock_held_(device->SpinLock)
NTSTATUS
OvpnPeerSwapKeys(_In_ POVPN_DEVICE device);

_IRQL_requires_same_
_IRQL_requires_(PASSIVE_LEVEL)
VOID
OvpnPeerUninit(_In_ POVPN_DEVICE device);

0 comments on commit 9da7ae3

Please sign in to comment.