]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
IB/core: Avoid exporting module internal ib_find_gid_by_filter()
authorParav Pandit <parav@mellanox.com>
Tue, 14 Nov 2017 12:52:07 +0000 (14:52 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Dec 2017 22:37:09 +0000 (15:37 -0700)
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>
drivers/infiniband/core/cache.c

index 43300b8e6341ace5c6ad0d7e0dd2aad5da4c82ca..7babdbceb6d0e882d82fb8e0d3f5cabac532e233 100644 (file)
@@ -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,