/* Note that "task" can be NULL. No congestion control is provided.  */
void xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task)
/* Note that "task" can be NULL. No congestion control is provided.  */
void xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task)
{
	if (xprt->snd_task == task) {
		xprt_clear_locked(xprt);
		__xprt_lock_write_next(xprt);
	}
}