[openib-general] Re: [PATCH] remove redundant check in mthca_provider.c

James Lentini jlentini at netapp.com
Wed May 25 15:08:47 PDT 2005


Did this patch get lost in the shuffle? Is the proposed change 
incorrect?

james

On Thu, 19 May 2005, James Lentini wrote:

>
> Remove redundant check of pd->uobject in mthca_provider.c
>
> Signed-off-by: James Lentini <jlentini at netapp.com>
-------------- next part --------------
Index: infiniband/hw/mthca/mthca_provider.c
===================================================================
--- infiniband/hw/mthca/mthca_provider.c	(revision 2404)
+++ infiniband/hw/mthca/mthca_provider.c	(working copy)
@@ -478,9 +478,7 @@
 				kfree(qp);
 				return ERR_PTR(err);
 			}
-		}
 
-		if (pd->uobject) {
 			qp->mr.ibmr.lkey = ucmd.lkey;
 			qp->sq.db_index  = ucmd.sq_db_index;
 			qp->rq.db_index  = ucmd.rq_db_index;


More information about the general mailing list