From: Zhu Yanjun Date: Mon, 28 May 2018 09:03:41 +0000 (-0400) Subject: IB/rxe: avoid unnecessary export X-Git-Tag: for-linus-20180616~47^2~37 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=bb42f87e2924e3b118aed3b3790ce792ae7bb86c;p=linux-block.git 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 Reviewed-by: Leon Romanovsky Signed-off-by: Jason Gunthorpe --- 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) } 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)