ws2_32: Get rid of supported_pf().

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-08-03 23:53:32 -05:00 committed by Alexandre Julliard
parent ccbb0eef7b
commit c07da78a2e
1 changed files with 0 additions and 20 deletions

View File

@ -727,26 +727,6 @@ void WINAPI WSASetLastError(INT iError) {
SetLastError(iError);
}
static inline BOOL supported_pf(int pf)
{
switch (pf)
{
case WS_AF_INET:
case WS_AF_INET6:
return TRUE;
#ifdef HAS_IPX
case WS_AF_IPX:
return TRUE;
#endif
#ifdef HAS_IRDA
case WS_AF_IRDA:
return TRUE;
#endif
default:
return FALSE;
}
}
/**********************************************************************/
/* Returns the length of the converted address if successful, 0 if it was too