From: Zhu Yanjun <yanjun.zhu@oracle.com>
Date: Mon, 28 May 2018 05:03:41 -0400
Subject: IB/rxe: avoid unnecessary export
Patch-mainline: v4.18-rc1
Git-commit: bb42f87e2924e3b118aed3b3790ce792ae7bb86c
References: bsc#1103992 FATE#326009
The function rxe_remove_all is only used in this modules.
There is no other modules that call this function. So it
is not necessary to export it.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
drivers/infiniband/sw/rxe/rxe_net.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/infiniband/sw/rxe/rxe_net.c
+++ b/drivers/infiniband/sw/rxe/rxe_net.c
@@ -623,7 +623,6 @@ void rxe_remove_all(void)
}
spin_unlock_bh(&dev_list_lock);
}
-EXPORT_SYMBOL(rxe_remove_all);
static void rxe_port_event(struct rxe_dev *rxe,
enum ib_event_type event)