OSDN Git Service

RDMA/core: Delete function indirection for alloc/free kernel CQ
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 7 Sep 2020 12:09:17 +0000 (15:09 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 9 Sep 2020 17:14:28 +0000 (14:14 -0300)
commit7e3c66c9a989d5b53387ceebc88b9e4a9b1d6434
tree96656531f93acff8cecbff6c083c2e8c3d374f09
parent119181d1d4327d3259ab25aa0ea3d3bc364afcdc
RDMA/core: Delete function indirection for alloc/free kernel CQ

The ib_alloc_cq*() and ib_free_cq*() are solely kernel verbs to manage CQs
and doesn't need extra indirection just to call same functions with
constant parameter NULL as udata.

Link: https://lore.kernel.org/r/20200907120921.476363-6-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/cq.c
include/rdma/ib_verbs.h