projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9499a
)
xprtrdma: clean up some curly braces
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 5 Nov 2015 08:37:08 +0000
(11:37 +0300)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Fri, 18 Dec 2015 20:34:33 +0000
(15:34 -0500)
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>
net/sunrpc/xprtrdma/verbs.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtrdma/verbs.c
b/net/sunrpc/xprtrdma/verbs.c
index eadd1655145a3bc5b81bdefb7015792fb3be566a..2cc101410a768be3ca17509f923bd1bd6e685f28 100644
(file)
--- 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;
+ }
}
}