Skip to content

Commit

Permalink
netkvm: remove unused member 'DriverHandle'
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Benditovich <[email protected]>
  • Loading branch information
ybendito authored and YanVugenfirer committed Dec 11, 2024
1 parent ec02372 commit 82909ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion NetKVM/Common/ndis56common.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,6 @@ struct _PARANDIS_ADAPTER : public CNdisAllocatable<_PARANDIS_ADAPTER, 'DCTX'>
m_StateMachine.RegisterFlow(m_CxStateMachine);
}
~_PARANDIS_ADAPTER();
NDIS_HANDLE DriverHandle = NULL;
NDIS_HANDLE MiniportHandle = NULL;
NDIS_HANDLE InterruptHandle = NULL;
NDIS_HANDLE BufferListsPool = NULL;
Expand Down
1 change: 0 additions & 1 deletion NetKVM/wlh/ParaNdis6_Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ static NDIS_STATUS ParaNdis6_Initialize(

/* set mandatory fields which Common use */
pContext->ulUniqueID = NdisInterlockedIncrement(&gID);
pContext->DriverHandle = DriverHandle;

NdisZeroMemory(&miniportAttributes, sizeof(miniportAttributes));
miniportAttributes.RegistrationAttributes.Header.Type = NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_REGISTRATION_ATTRIBUTES;
Expand Down

0 comments on commit 82909ad

Please sign in to comment.