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 năm trước cách đây
mục cha
commit
38b95bcf12
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      net/sunrpc/xprtrdma/verbs.c

+ 2 - 1
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;
+			}
 		}
 	}