From d46f7cc94bb1a8851096e2434bed20ca7a0ecc73 Mon Sep 17 00:00:00 2001 From: leonidk Date: Mon, 24 Mar 2008 11:49:58 +0000 Subject: [PATCH] [MLX4] removed an unused field git-svn-id: svn://openib.tc.cornell.edu/gen1@1020 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- branches/ConnectX/hw/mlx4/kernel/ib/cq.c | 2 -- branches/ConnectX/hw/mlx4/kernel/ib/mad.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/branches/ConnectX/hw/mlx4/kernel/ib/cq.c b/branches/ConnectX/hw/mlx4/kernel/ib/cq.c index c1090eec..3d18f0ef 100644 --- a/branches/ConnectX/hw/mlx4/kernel/ib/cq.c +++ b/branches/ConnectX/hw/mlx4/kernel/ib/cq.c @@ -380,8 +380,6 @@ static int mlx4_ib_poll_one(struct mlx4_ib_cq *cq, *cur_qp = to_mibqp(mqp); } - wc->opaque= &(*cur_qp)->ibqp; - if (is_send) { wq = &(*cur_qp)->sq; wqe_ctr = be16_to_cpu(cqe->wqe_index); diff --git a/branches/ConnectX/hw/mlx4/kernel/ib/mad.c b/branches/ConnectX/hw/mlx4/kernel/ib/mad.c index 68f686b2..b03c02b4 100644 --- a/branches/ConnectX/hw/mlx4/kernel/ib/mad.c +++ b/branches/ConnectX/hw/mlx4/kernel/ib/mad.c @@ -88,8 +88,6 @@ int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int ignore_mkey, int ignore_bkey, memset(inbox + 256, 0, 256); ext_info = (void*)(inbox + 256); - if ( in_wc->opaque ) - ext_info->my_qpn = cpu_to_be32( ((struct ib_qp*)in_wc->opaque)->qp_num ); ext_info->rqpn = in_wc->recv.ud.remote_qp; ext_info->sl = in_wc->recv.ud.remote_sl << 4; ext_info->g_path = in_wc->recv.ud.path_bits | -- 2.41.0