diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-04-14 07:44:44 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-04-17 19:54:38 -0600 |
commit | 76be04500be2d3e3c0ed7e13d3bc4453b985355b (patch) | |
tree | fbf244c13a9fd437042bc0c796ef7341ba2ecc36 /drivers/infiniband/sw | |
parent | 0f02ba7ed16acdbc8c4f0b46a6fee81bb94f3407 (diff) | |
download | linux-stable-76be04500be2d3e3c0ed7e13d3bc4453b985355b.tar.gz linux-stable-76be04500be2d3e3c0ed7e13d3bc4453b985355b.tar.bz2 linux-stable-76be04500be2d3e3c0ed7e13d3bc4453b985355b.zip |
IB/rxe: avoid export symbols
The functions rxe_set_mtu, rxe_add and rxe_remove are only used in their
own module. So it is not necessary to export them.
CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe.c b/drivers/infiniband/sw/rxe/rxe.c index e493fdbd61c6..4d1d96805ca5 100644 --- a/drivers/infiniband/sw/rxe/rxe.c +++ b/drivers/infiniband/sw/rxe/rxe.c @@ -306,7 +306,6 @@ int rxe_set_mtu(struct rxe_dev *rxe, unsigned int ndev_mtu) return 0; } -EXPORT_SYMBOL(rxe_set_mtu); /* called by ifc layer to create new rxe device. * The caller should allocate memory for rxe by calling ib_alloc_device. @@ -335,7 +334,6 @@ err1: rxe_dev_put(rxe); return err; } -EXPORT_SYMBOL(rxe_add); /* called by the ifc layer to remove a device */ void rxe_remove(struct rxe_dev *rxe) @@ -344,7 +342,6 @@ void rxe_remove(struct rxe_dev *rxe) rxe_dev_put(rxe); } -EXPORT_SYMBOL(rxe_remove); static int __init rxe_module_init(void) { |