OSDN Git Service

RDMA/cma: Limit the scope of rdma_is_consumer_reject function
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 13 Apr 2020 13:23:23 +0000 (16:23 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 14 Apr 2020 22:44:12 +0000 (19:44 -0300)
commitdd302ee41e6ed204f8d9534d511edc72b5ce5e53
tree0d99d0e7e0cef94787544423ee7a1dcb4cada0ca
parent8ce111d00e64b52e7c77a5956434384e906f7394
RDMA/cma: Limit the scope of rdma_is_consumer_reject function

The function is local to cma.c, so let's limit its scope.

Link: https://lore.kernel.org/r/20200413132323.930869-1-leon@kernel.org
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c
include/rdma/rdma_cm.h