rpcrdma_reply_put() sets req->rl_reply to NULL when it is
non-NULL, and skips the block when it is already NULL. The
WARN_ON_ONCE(req->rl_reply) that follows can never fire
because both paths leave rl_reply NULL.
Remove the dead assertion and its comment.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
req->rl_reply = NULL;
rpcrdma_rep_put(buffers, rep);
}
- /* I2: rl_reply NULL after the put closes the
- * 'rep on rb_free_reps still referenced by req' window.
- */
- WARN_ON_ONCE(req->rl_reply);
}
/**