/* xs_destroy - prepare to shutdown a transport @xprt: doomed transport  */
static void xs_destroy(struct rpc_xprt *xprt)
/* xs_destroy - prepare to shutdown a transport @xprt: doomed transport  */
static void xs_destroy(struct rpc_xprt *xprt)
{
	struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt);
	dprintk("RPC:       xs_destroy xprt %p\n", xprt);
	cancel_rearming_delayed_work(&transport->connect_worker);
	xs_close(xprt);
	xs_free_peer_addresses(xprt);
	kfree(xprt->slot);
	kfree(xprt);
	module_put(THIS_MODULE);
}