Revert r64621.
[reactos.git] / reactos / drivers / network / tcpip / tcpip / cinfo.c
diff --git a/reactos/drivers/network/tcpip/tcpip/cinfo.c b/reactos/drivers/network/tcpip/tcpip/cinfo.c
deleted file mode 100644 (file)
index 184532c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * COPYRIGHT:   See COPYING in the top level directory
- * PROJECT:     ReactOS TCP/IP protocol driver
- * FILE:        tcpip/cinfo.c
- * PURPOSE:     Per-socket connection information.
- * PROGRAMMER:  Jérôme Gardou
- */
-
-#include "precomp.h"
-
-TDI_STATUS SetConnectionInfo(TDIObjectID *ID,
-                             PCONNECTION_ENDPOINT Connection,
-                             PVOID Buffer,
-                             UINT BufferSize)
-{
-    ASSERT(ID->toi_type == INFO_TYPE_CONNECTION);
-    switch (ID->toi_id)
-    {
-        case TCP_SOCKET_NODELAY:
-        {
-            BOOLEAN Set;
-            if (BufferSize < sizeof(BOOLEAN))
-                return TDI_INVALID_PARAMETER;
-            Set = *(BOOLEAN*)Buffer;
-            return TCPSetNoDelay(Connection, Set);
-        }
-        default:
-            DbgPrint("TCPIP: Unknown connection info ID: %u.\n", ID->toi_id);
-    }
-
-    return TDI_INVALID_PARAMETER;
-}