]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[MLX4] removed an unused field
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 24 Mar 2008 11:49:58 +0000 (11:49 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 24 Mar 2008 11:49:58 +0000 (11:49 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@1020 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

branches/ConnectX/hw/mlx4/kernel/ib/cq.c
branches/ConnectX/hw/mlx4/kernel/ib/mad.c

index c1090eecaf864de915afb20a57a3d33e406c4402..3d18f0ef73d738d44a22d2d53abbe927d7abaaeb 100644 (file)
@@ -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);
index 68f686b253eeeb2e154157900bac6ce78c14ad45..b03c02b4b8fdc591f2bfc5388c19bf5cfaed26bf 100644 (file)
@@ -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 |