Skip to content

Commit

Permalink
xprtrdma: clean up some curly braces
Browse files Browse the repository at this point in the history
It doesn't matter either way, but the curly braces were clearly intended
here.  It causes a Smatch warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
  • Loading branch information
Dan Carpenter authored and Anna Schumaker committed Dec 18, 2015
1 parent 9f9499a commit 38b95bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/sunrpc/xprtrdma/verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,10 +852,11 @@ rpcrdma_ep_connect(struct rpcrdma_ep *ep, struct rpcrdma_ia *ia)

if (extras) {
rc = rpcrdma_ep_post_extra_recv(r_xprt, extras);
if (rc)
if (rc) {
pr_warn("%s: rpcrdma_ep_post_extra_recv: %i\n",
__func__, rc);
rc = 0;
}
}
}

Expand Down

0 comments on commit 38b95bc

Please sign in to comment.