]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Remove indirection through ib_cache_setup()
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 29 May 2018 02:32:40 +0000 (20:32 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 29 May 2018 21:19:31 +0000 (15:19 -0600)
commitf533f383c7e0f95523f24d2f936fa64b681008c3
treef78602030dc09d1b3ad0e68d89b983d3fc949f74
parentad8493bc828fa37931331c9819a4cd6ac26951bc
RDMA/core: Remove indirection through ib_cache_setup()

This once might have made sense when cache.c was in a different module
from device.c, but  today it just obfuscation. Get rid of the wrappers
and call roge_gid_mgmt_init()/cleanup() directly.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/core/cache.c
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/device.c