wnaspi32: Remove unnecessary DllMain implementation on non-Linux.

This commit is contained in:
Alexandre Julliard 2014-05-16 11:34:51 +02:00
parent 3f6c6dbbb3
commit 9222e4e0ea

View File

@ -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)
{