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)
commit5ef8c0c180a6318542dce7e0701dd8e341c1265b
treef78602030dc09d1b3ad0e68d89b983d3fc949f74
parent0394808d9ed5ca9d3595ca4d97ce79faf845ac77
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