]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/uverbs: Do not pass ib_uverbs_file to ioctl methods
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 25 Nov 2018 18:51:15 +0000 (20:51 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 26 Nov 2018 23:48:07 +0000 (16:48 -0700)
commit15a1b4becba886176aa1426604548c34904fd054
treed5306001721e9460a9504575cab321e21bac52fb
parent7106a9769715bb4c0448927a29aa3b505855871c
RDMA/uverbs: Do not pass ib_uverbs_file to ioctl methods

The uverbs_attr_bundle already contains this pointer, and most methods
don't actually need it. Get rid of the redundant function argument.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
12 files changed:
drivers/infiniband/core/rdma_core.h
drivers/infiniband/core/uverbs_ioctl.c
drivers/infiniband/core/uverbs_std_types.c
drivers/infiniband/core/uverbs_std_types_counters.c
drivers/infiniband/core/uverbs_std_types_cq.c
drivers/infiniband/core/uverbs_std_types_dm.c
drivers/infiniband/core/uverbs_std_types_flow_action.c
drivers/infiniband/core/uverbs_std_types_mr.c
drivers/infiniband/hw/mlx5/devx.c
drivers/infiniband/hw/mlx5/flow.c
include/rdma/ib_verbs.h
include/rdma/uverbs_ioctl.h