[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1544856316-110134-1-git-send-email-zhengbin13@huawei.com>
Date: Sat, 15 Dec 2018 14:45:16 +0800
From: zhengbin <zhengbin13@...wei.com>
To: <trond.myklebust@...merspace.com>, <anna.schumaker@...app.com>,
<bfields@...ldses.org>, <jlayton@...nel.org>,
<davem@...emloft.net>, <linux-nfs@...r.kernel.org>,
<netdev@...r.kernel.org>
CC: <houtao1@...wei.com>, <zhaohongjiang@...wei.com>
Subject: [PATCH] SUNRPC: fix comment style
If there is only one line comment, we should use /* ... */
Signed-off-by: zhengbin <zhengbin13@...wei.com>
---
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
Powered by blists - more mailing lists