aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2017-11-14 14:52:07 +0200
committerJason Gunthorpe <jgg@mellanox.com>2017-12-18 15:37:09 -0700
commit1c43d5d308f0858e763f46bc2bd01cd32b67c63e (patch)
tree53bf5a59001599ac479b0b7f4960bcb3ef26fc32 /drivers/infiniband
parentIB/rxe: Avoid passing unused index pointer which is optional (diff)
downloadlinux-dev-1c43d5d308f0858e763f46bc2bd01cd32b67c63e.tar.xz
linux-dev-1c43d5d308f0858e763f46bc2bd01cd32b67c63e.zip
IB/core: Avoid exporting module internal ib_find_gid_by_filter()
ib_find_gid_by_filter() is used only by ib_core, therefore avoid exporting it. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/core/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cache.c b/drivers/infiniband/core/cache.c
index 43300b8e6341..7babdbceb6d0 100644
--- a/drivers/infiniband/core/cache.c
+++ b/drivers/infiniband/core/cache.c
@@ -880,7 +880,6 @@ int ib_find_gid_by_filter(struct ib_device *device,
port_num, filter,
context, index);
}
-EXPORT_SYMBOL(ib_find_gid_by_filter);
int ib_get_cached_pkey(struct ib_device *device,
u8 port_num,