diff --git a/reactos/drivers/network/ndis/ndis/misc.c b/reactos/drivers/network/ndis/ndis/misc.c index 8abd29e147f..fda08cac584 100644 --- a/reactos/drivers/network/ndis/ndis/misc.c +++ b/reactos/drivers/network/ndis/ndis/misc.c @@ -116,6 +116,19 @@ NdisMapFile( *Status = STATUS_SUCCESS; } +/* + * @implemented + */ +VOID +EXPORT +NdisUnmapFile( + IN NDIS_HANDLE FileHandle) +{ + PNDIS_HANDLE_OBJECT HandleObject = (PNDIS_HANDLE_OBJECT) FileHandle; + + HandleObject->Mapped = FALSE; +} + /* * @implemented */ @@ -134,10 +147,8 @@ NdisCloseFile( ASSERT ( FileHandleObject->FileHandle ); - /* if ( FileHandleObject->Mapped ) NdisUnmapFile ( FileHandle ); - */ ZwClose ( FileHandleObject->FileHandle ); @@ -253,20 +264,6 @@ NdisSystemProcessorCount( } -/* - * @implemented - */ -VOID -EXPORT -NdisUnmapFile( - IN NDIS_HANDLE FileHandle) -{ - PNDIS_HANDLE_OBJECT HandleObject = (PNDIS_HANDLE_OBJECT) FileHandle; - - HandleObject->Mapped = FALSE; -} - - /* * @implemented */