Browse Source

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>
Dan Carpenter 9 years ago
parent
commit
38b95bcf12
1 changed files with 2 additions and 1 deletions
  1. 2 1
      net/sunrpc/xprtrdma/verbs.c

+ 2 - 1
net/sunrpc/xprtrdma/verbs.c

@@ -852,10 +852,11 @@ retry:
 
 
 		if (extras) {
 		if (extras) {
 			rc = rpcrdma_ep_post_extra_recv(r_xprt, extras);
 			rc = rpcrdma_ep_post_extra_recv(r_xprt, extras);
-			if (rc)
+			if (rc) {
 				pr_warn("%s: rpcrdma_ep_post_extra_recv: %i\n",
 				pr_warn("%s: rpcrdma_ep_post_extra_recv: %i\n",
 					__func__, rc);
 					__func__, rc);
 				rc = 0;
 				rc = 0;
+			}
 		}
 		}
 	}
 	}