[openib-general] [PATCH] [TRIVIAL] SDP: sdp_actv.c remove redundant initialization
Hal Rosenstock
halr at voltaire.com
Wed Mar 9 06:43:18 PST 2005
SDP: sdp_actv.c remove redundant initialization
qp_attr->min_rnr_timer is already initialized to 0 by
cm_init_qp_rtr_attr in cm.c
Is this really intended to be IB_RNR_TIMER_122_88 instead ?
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
Index: sdp_actv.c
===================================================================
--- sdp_actv.c (revision 1970)
+++ sdp_actv.c (working copy)
@@ -133,10 +133,9 @@
goto done;
}
- qp_attr->min_rnr_timer = 0; /* IB_RNR_TIMER_122_88; */
qp_attr->rq_psn = conn->rq_psn;
- attr_mask |= (IB_QP_MIN_RNR_TIMER | IB_QP_RQ_PSN);
+ attr_mask |= IB_QP_RQ_PSN;
result = ib_modify_qp(conn->qp, qp_attr, attr_mask);
if (result) {
More information about the general
mailing list