]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
r5684: Remove unused NO_EP_STATE.
authorArlin Davis <ardavis@ichips.intel.com>
Wed, 8 Mar 2006 14:24:26 +0000 (14:24 +0000)
committerJames Lentini <jlentini@netapp.com>
Wed, 8 Mar 2006 14:24:26 +0000 (14:24 +0000)
Signed-off-by: Arlin Davis <ardavis@ichips.intel.com>
Signed-off-by: James Lentini <jlentini@netapp.com>
dapl/common/dapl_cr_callback.c

index 31ede8d7f3a36f46e75ba2485fa0673310484c97..e36beda78723ae0377656c51fd435ba2de4bbd9e 100644 (file)
@@ -532,18 +532,10 @@ dapli_get_sp_ep (
     {
        /* Remove the CR from the queue */
        dapl_sp_remove_cr (sp_ptr, cr_ptr);
-       /*
-        * Last event, time to clean up and dispose of the resource.
-        * Put the EP in a state that it can't get hurt, avoiding
-        * race conditions between now and when it gets disconnected,
-        * i.e. an app invoking ep_disconnect before the callback
-        * code above finishes.
-        */
-#define NO_EP_STATE    111             /* larger than any ep state */
+
        if (ep_ptr != NULL)
        {
            ep_ptr->cr_ptr = NULL;
-           ep_ptr->param.ep_state = NO_EP_STATE;
        }
 
        /*