Skip to content
Commit abfb6897 authored by Dan Carpenter's avatar Dan Carpenter Committed by Anna Schumaker
Browse files

xprtrdma: checking for NULL instead of IS_ERR()

The rpcrdma_create_req() function returns error pointers or success.  It
never returns NULL.

Fixes: f531a5db

 ('xprtrdma: Pre-allocate backward rpc_rqst and send/receive buffers')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 38b95bcf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment