RDMA/efa: Remove double QP type assignment
[linux-2.6-microblaze.git] / drivers / infiniband / hw / efa / efa_verbs.c
index b4cfb65..b1c4780 100644 (file)
@@ -727,7 +727,6 @@ struct ib_qp *efa_create_qp(struct ib_pd *ibpd,
 
        qp->qp_handle = create_qp_resp.qp_handle;
        qp->ibqp.qp_num = create_qp_resp.qp_num;
-       qp->ibqp.qp_type = init_attr->qp_type;
        qp->max_send_wr = init_attr->cap.max_send_wr;
        qp->max_recv_wr = init_attr->cap.max_recv_wr;
        qp->max_send_sge = init_attr->cap.max_send_sge;