[PATCH] SUNRPC: fix comment style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If there is only one line comment, we should use /* ... */

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

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);
--
2.7.4




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux