From 3f9439a7729b74210d5ebddb4c934655bc1e5638 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 17 Dec 2016 12:33:45 +0000 Subject: [PATCH] ib_srpt: Revert r7050 r7050 did not change any behavior so revert it. Note for myself: in the ib_srpt driver the port number is set by the ib_modify_qp() call in srpt_init_ch_qp(). git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7061 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 2d4f7340a..52a66b8bf 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2267,7 +2267,6 @@ retry: sdev->dev_attr.max_sge - max_sge_delta)); qp_init->cap.max_send_sge = ch->max_sge; qp_init->cap.max_recv_sge = ch->max_sge; - qp_init->port_num = ch->sport->port; if (sdev->use_srq) { qp_init->srq = sdev->srq; } else {