@@ -1161,7 +1161,6 @@ lnet_shutdown_lndnet(struct lnet_net *net);
static void
lnet_shutdown_lndnets(void)
{
- int i;
struct lnet_net *net;
/* NB called holding the global mutex */
@@ -1198,19 +1197,6 @@ lnet_shutdown_lndnets(void)
lnet_shutdown_lndnet(net);
}
- /*
- * Clear lazy portals and drop delayed messages which hold refs
- * on their lnet_msg::msg_rxpeer
- */
- for (i = 0; i < the_lnet.ln_nportals; i++)
- LNetClearLazyPortal(i);
-
- /*
- * Clear the peer table and wait for all peers to go (they hold refs on
- * their NIs)
- */
- lnet_peer_tables_cleanup(NULL);
-
lnet_net_lock(LNET_LOCK_EX);
the_lnet.ln_shutdown = 0;
lnet_net_unlock(LNET_LOCK_EX);
I don't know what this did, or why it is being removed. This is part of 8cbb8cd3e771e7f7e0f99cafc19fad32770dc015 LU-7734 lnet: Multi-Rail local NI split Signed-off-by: NeilBrown <neilb@suse.com> --- drivers/staging/lustre/lnet/lnet/api-ni.c | 14 -------------- 1 file changed, 14 deletions(-)