aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2018-05-28 05:03:41 -0400
committerJason Gunthorpe <jgg@mellanox.com>2018-05-28 13:25:55 -0400
commitbb42f87e2924e3b118aed3b3790ce792ae7bb86c (patch)
tree658b55d90647ec7143d0da0b9c49a8d5adf665bc
parentd59fcacc4b089c9920ff4a148e33a3f3f7275ef6 (diff)
IB/rxe: avoid unnecessary export
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>
-rw-r--r--drivers/infiniband/sw/rxe/rxe_net.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_net.c b/drivers/infiniband/sw/rxe/rxe_net.c
index 95e52b3ec757..59ec6d918ed4 100644
--- 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)
623 } 623 }
624 spin_unlock_bh(&dev_list_lock); 624 spin_unlock_bh(&dev_list_lock);
625} 625}
626EXPORT_SYMBOL(rxe_remove_all);
627 626
628static void rxe_port_event(struct rxe_dev *rxe, 627static void rxe_port_event(struct rxe_dev *rxe,
629 enum ib_event_type event) 628 enum ib_event_type event)