]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/infiniband/core/uverbs_std_types_dm.c
RDMA/uverbs: Do not pass ib_uverbs_file to ioctl methods
[linux.git] / drivers / infiniband / core / uverbs_std_types_dm.c
index c40353331d90353d3f961f4721866e5b5289006e..658261b8f08e44b2a3a238f2043654cdb3a145e3 100644 (file)
@@ -46,9 +46,8 @@ static int uverbs_free_dm(struct ib_uobject *uobject,
        return dm->device->dealloc_dm(dm);
 }
 
-static int
-UVERBS_HANDLER(UVERBS_METHOD_DM_ALLOC)(struct ib_uverbs_file *file,
-                                      struct uverbs_attr_bundle *attrs)
+static int UVERBS_HANDLER(UVERBS_METHOD_DM_ALLOC)(
+       struct uverbs_attr_bundle *attrs)
 {
        struct ib_dm_alloc_attr attr = {};
        struct ib_uobject *uobj =