diff --git a/NetKVM/Common/ndis56common.h b/NetKVM/Common/ndis56common.h index aca825c14..020d9dfd0 100755 --- a/NetKVM/Common/ndis56common.h +++ b/NetKVM/Common/ndis56common.h @@ -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; diff --git a/NetKVM/wlh/ParaNdis6_Driver.cpp b/NetKVM/wlh/ParaNdis6_Driver.cpp index 8af162e72..13b132535 100755 --- a/NetKVM/wlh/ParaNdis6_Driver.cpp +++ b/NetKVM/wlh/ParaNdis6_Driver.cpp @@ -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;