OSDN Git Service

IB/rxe: avoid unnecessary export
authorZhu Yanjun <yanjun.zhu@oracle.com>
Mon, 28 May 2018 09:03:41 +0000 (05:03 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 28 May 2018 17:25:55 +0000 (11:25 -0600)
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>
drivers/infiniband/sw/rxe/rxe_net.c

index 95e52b3..59ec6d9 100644 (file)
@@ -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)