From 82909adcb10a8d38ff613d8ed8c6bd787302a8b9 Mon Sep 17 00:00:00 2001 From: Yuri Benditovich Date: Sun, 1 Dec 2024 16:07:22 +0200 Subject: [PATCH] netkvm: remove unused member 'DriverHandle' Signed-off-by: Yuri Benditovich --- NetKVM/Common/ndis56common.h | 1 - NetKVM/wlh/ParaNdis6_Driver.cpp | 1 - 2 files changed, 2 deletions(-) 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;