SUNRPC: fix comment style
diff mbox series

Message ID 1544856316-110134-1-git-send-email-zhengbin13@huawei.com
State New
Headers show
Series
  • SUNRPC: fix comment style
Related show

Commit Message

zhengbin Dec. 15, 2018, 6:45 a.m. UTC
If there is only one line comment, we should use /* ... */

Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 net/sunrpc/xprt.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

--
2.7.4

Patch
diff mbox series

diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index ce92700..68a80eb 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -1875,9 +1875,7 @@  static void xprt_destroy_cb(struct work_struct *work)
 	rpc_destroy_wait_queue(&xprt->sending);
 	rpc_destroy_wait_queue(&xprt->backlog);
 	kfree(xprt->servername);
-	/*
-	 * Tear down transport state and free the rpc_xprt
-	 */
+	/* Tear down transport state and free the rpc_xprt */
 	xprt->ops->destroy(xprt);
 }

@@ -1890,9 +1888,7 @@  static void xprt_destroy(struct rpc_xprt *xprt)
 {
 	dprintk("RPC:       destroying transport %p\n", xprt);

-	/*
-	 * Exclude transport connect/disconnect handlers and autoclose
-	 */
+	/* Exclude transport connect/disconnect handlers and autoclose */
 	wait_on_bit_lock(&xprt->state, XPRT_LOCKED, TASK_UNINTERRUPTIBLE);

 	del_timer_sync(&xprt->timer);