RDMA: Remove the udata parameter from alloc_mr callback
[linux-2.6-microblaze.git] / drivers / infiniband / sw / rxe / rxe_verbs.c
index b8a22af..0472df5 100644 (file)
@@ -975,7 +975,7 @@ static int rxe_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata)
 }
 
 static struct ib_mr *rxe_alloc_mr(struct ib_pd *ibpd, enum ib_mr_type mr_type,
-                                 u32 max_num_sg, struct ib_udata *udata)
+                                 u32 max_num_sg)
 {
        struct rxe_dev *rxe = to_rdev(ibpd->device);
        struct rxe_pd *pd = to_rpd(ibpd);