ws2_32: Remove unused function

Andrew Talbot andrew.talbot at talbotville.com
Wed May 21 15:50:27 CDT 2008


Changelog:
    ws2_32: Remove unused function.

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index c24a049..d0d2a13 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -579,17 +579,6 @@ static int convert_sockopt(INT *level, INT *optname)
   return 0;
 }
 
-static inline BOOL is_timeout_option( int optname )
-{
-#ifdef SO_RCVTIMEO
-    if (optname == SO_RCVTIMEO) return TRUE;
-#endif
-#ifdef SO_SNDTIMEO
-    if (optname == SO_SNDTIMEO) return TRUE;
-#endif
-    return FALSE;
-}
-
 /* ----------------------------------- Per-thread info (or per-process?) */
 
 static char *strdup_lower(const char *str)



More information about the wine-patches mailing list