]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
r3062: Update from DAPL SourceForge: remove unused DAPL_CNO_PROXY_CALL
authorJames Lentini <jlentini@netapp.com>
Thu, 11 Aug 2005 18:23:33 +0000 (18:23 +0000)
committerJames Lentini <jlentini@netapp.com>
Thu, 11 Aug 2005 18:23:33 +0000 (18:23 +0000)
Signed-off-by: James Lentini <jlentini@netapp.com>
dapl/common/dapl_cno_util.h

index 6ca32cd301e02c64a6fc3995be78519156bcdfe3..1a2e94d1185936a3ac04213f3ce1b0a71148fcd9 100644 (file)
@@ -46,40 +46,12 @@ dapl_cno_alloc (
     IN DAPL_IA                         *ia_ptr,
     IN const DAT_UPCALL_OBJECT         *upcall) ;
 
-#define DAPL_CNO_PROXY_CALL(cno_ptr, evd_ptr, agent_ptr)                 \
-{                                                                        \
-    DAT_RETURN         dat_status;                                      \
-    DAT_EVENT          event;                                           \
-                                                                         \
-    dat_status = dapl_evd_dequeue ((DAT_EVD_HANDLE)evd_ptr,              \
-                                  &event );                             \
-    while (dat_status == DAT_SUCCESS )                                   \
-    {                                                                    \
-       if (agent_ptr->cno_upcall.upcall_func != (DAT_UPCALL_FUNC) NULL) \
-       {                                                                \
-           cno_ptr->cno_upcall.upcall_func (                            \
-                               agent_ptr->cno_upcall.instance_data,     \
-                               &event,                                  \
-                               DAT_FALSE);                              \
-       }                                                                \
-       dat_status = dapl_evd_dequeue ((DAT_EVD_HANDLE)evd_ptr,          \
-                                      evd_ptr->events );                \
-    }                                                                    \
-}
-
 #else
 DAPL_CNO *
 dapl_cno_alloc (
     IN DAPL_IA                         *ia_ptr,
     IN DAT_OS_WAIT_PROXY_AGENT         wait_agent) ;
 
-#define DAPL_CNO_PROXY_CALL(cno_ptr, evd_ptr, agent_ptr)                 \
-    if (agent_ptr->proxy_agent_func != (DAT_AGENT_FUNC) NULL)            \
-    {                                                                    \
-       agent_ptr->proxy_agent_func (                                    \
-       agent_ptr->instance_data, (DAT_EVD_HANDLE) evd_ptr );            \
-    }
-
 #endif /* defined(__KDAPL__) */
 
 void