]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
xprtrdma: clean up some curly braces
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 5 Nov 2015 08:37:08 +0000 (11:37 +0300)
committerAnna 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

index eadd1655145a3bc5b81bdefb7015792fb3be566a..2cc101410a768be3ca17509f923bd1bd6e685f28 100644 (file)
@@ -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;
+                       }
                }
        }