summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-11-05 09:37:08 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2015-12-18 21:34:33 +0100
commit38b95bcf122545db7035a06d79ec9e851be2e011 (patch)
tree4e7c25270356959999337247c9f3430e75853096 /net/sunrpc
parentLinux 4.4-rc5 (diff)
downloadlinux-38b95bcf122545db7035a06d79ec9e851be2e011.tar.xz
linux-38b95bcf122545db7035a06d79ec9e851be2e011.zip
xprtrdma: clean up some curly braces
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/xprtrdma/verbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c
index eadd1655145a..2cc101410a76 100644
--- a/net/sunrpc/xprtrdma/verbs.c
+++ b/net/sunrpc/xprtrdma/verbs.c
@@ -852,10 +852,11 @@ retry:
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;
+ }
}
}