]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xprtrdma: Remove tautological I2 assertion in rpcrdma_reply_put
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Jun 2026 17:54:13 +0000 (13:54 -0400)
committerAnna Schumaker <anna.schumaker@hammerspace.com>
Mon, 8 Jun 2026 14:21:56 +0000 (10:21 -0400)
commitbf822d717edecfbf2e6b3eec1bef3813cbeacdd4
tree505e5373464b8a32d24356473155e7c22c754711
parent04dd9cdbe59a9056b4cc8de07e1585db77661cbc
xprtrdma: Remove tautological I2 assertion in rpcrdma_reply_put

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>
net/sunrpc/xprtrdma/verbs.c