diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-11-05 11:39:52 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-12-18 15:34:33 -0500 |
commit | abfb689711aaebd14d893236c6ea4bcdfb61e74c (patch) | |
tree | e1f39a31fd6b8115f7202de5c7ee97dd9b890028 /net/sunrpc/xprtrdma/verbs.c | |
parent | 38b95bcf122545db7035a06d79ec9e851be2e011 (diff) | |
download | op-kernel-dev-abfb689711aaebd14d893236c6ea4bcdfb61e74c.zip op-kernel-dev-abfb689711aaebd14d893236c6ea4bcdfb61e74c.tar.gz |
xprtrdma: checking for NULL instead of IS_ERR()
The rpcrdma_create_req() function returns error pointers or success. It
never returns NULL.
Fixes: f531a5dbc451 ('xprtrdma: Pre-allocate backward rpc_rqst and send/receive buffers')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/verbs.c')
0 files changed, 0 insertions, 0 deletions