/* ipath_mcast_qp_alloc - alloc a struct to link a QP to mcast GID struct @qp: the QP to link  */
static struct ipath_mcast_qp* ipath_mcast_qp_alloc(struct ipath_qp *qp)
/* ipath_mcast_qp_alloc - alloc a struct to link a QP to mcast GID struct @qp: the QP to link  */
static struct ipath_mcast_qp* ipath_mcast_qp_alloc(struct ipath_qp *qp)
{
	struct ipath_mcast_qp *mqp;
	mqp = kmalloc(sizeof *mqp, GFP_KERNEL);
	if (!mqp)
		goto bail;
	mqp->qp = qp;
	atomic_inc(&qp->refcount);
bail:
	return mqp;
}