/* xprt_destroy - destroy an RPC transport, killing off all requests. @kref: kref for the transport to destroy  */
static void xprt_destroy(struct kref *kref)
/* xprt_destroy - destroy an RPC transport, killing off all requests. @kref: kref for the transport to destroy  */
static void xprt_destroy(struct kref *kref)
{
	struct rpc_xprt *xprt = container_of(kref, struct rpc_xprt, kref);
	dprintk("RPC:       destroying transport %p\n", xprt);
	xprt->shutdown = 1;
	del_timer_sync(&xprt->timer);
	rpc_destroy_wait_queue(&xprt->binding);
	rpc_destroy_wait_queue(&xprt->pending);
	rpc_destroy_wait_queue(&xprt->sending);
	rpc_destroy_wait_queue(&xprt->resend);
	rpc_destroy_wait_queue(&xprt->backlog);
	xprt->ops->destroy(xprt);
}