Commit 9222e4e0 authored by Alexandre Julliard's avatar Alexandre Julliard

wnaspi32: Remove unnecessary DllMain implementation on non-Linux.

parent 3f6c6dbb
......@@ -63,12 +63,9 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
};
static CRITICAL_SECTION ASPI_CritSection = { &critsect_debug, -1, 0, 0, 0, 0 };
#endif /* defined(linux) */
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
{
#ifdef linux
switch( fdwReason )
{
case DLL_PROCESS_ATTACH:
......@@ -80,13 +77,10 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID fImpLoad)
DeleteCriticalSection( &ASPI_CritSection );
break;
}
#endif /* defined(linux) */
return TRUE;
}
#ifdef linux
static int
ASPI_OpenDevice(SRB_ExecSCSICmd *prb)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment