diff --git a/net/lnet/lnet/lib-msg.c b/net/lnet/lnet/lib-msg.c index 146e23c..a245942 100644 --- a/net/lnet/lnet/lib-msg.c +++ b/net/lnet/lnet/lib-msg.c @@ -771,12 +771,7 @@ } if (unlink) { - /* if this is an ACK or a REPLY then make sure to remove the - * response tracker. - */ - if (msg->msg_ev.type == LNET_EVENT_REPLY || - msg->msg_ev.type == LNET_EVENT_ACK) - lnet_detach_rsp_tracker(msg->msg_md, cpt); + lnet_detach_rsp_tracker(md, cpt); lnet_md_unlink(md); }