[WSD] Refix building with IBSP_LOGGING enabled, take two.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 3 Jul 2006 21:51:09 +0000 (21:51 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 3 Jul 2006 21:51:09 +0000 (21:51 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@398 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/wsd/user/ibspdll.c

index 55c557a..9e48973 100644 (file)
@@ -2264,39 +2264,4 @@ WSPStartupEx(
        return 0;\r
 }\r
 \r
-inline void\r
-ibsp_css(\r
-                                       char                                            *calling_func,\r
-                                       int                                                     line,\r
-                                       struct ibsp_socket_info         *s,\r
-                                       enum ibsp_socket_state          new_state )\r
-{\r
-       enum ibsp_socket_state old_state;\r
-\r
-       UNUSED_PARAM( calling_func );\r
-       UNUSED_PARAM( line );\r
-\r
-       old_state = s->socket_state;\r
-\r
-       if( old_state == new_state )\r
-       {\r
-               /* Nothing to change */\r
-               return;\r
-       }\r
-\r
-       /* IBSP_CLOSED is a dead end state */\r
-       if( old_state == IBSP_CLOSED )\r
-       {\r
-               fzprint(("%s():0x%x:0x%x: socket=0x%p cannot change from %s to %s, called by %s():%d\n", __FUNCTION__, GetCurrentProcessId(), GetCurrentThreadId(), s, IBSP_SOCKET_STATE_STR(old_state), IBSP_SOCKET_STATE_STR(new_state), calling_func, line));\r
-               return;\r
-       }\r
-\r
-       fzprint(("%s():0x%x:0x%x: socket=0x%p %s to %s, called by %s():%d\n", __FUNCTION__,\r
-                        GetCurrentProcessId(),\r
-                        GetCurrentThreadId(), s,\r
-                        IBSP_SOCKET_STATE_STR(old_state),\r
-                        IBSP_SOCKET_STATE_STR(new_state), calling_func, line));\r
-\r
-       s->socket_state = new_state;\r
-}\r
 \r