]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
SUNRPC: Remove stale comments
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Jan 2024 17:46:32 +0000 (12:46 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:16 +0000 (09:12 -0500)
bc_close() and bc_destroy now do something, so the comments are
no longer correct. Commit 6221f1d9b63f ("SUNRPC: Fix backchannel
RPC soft lockups") should have removed these.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtsock.c

index 58f3dc8d0d71c3b252588a9e6470650a04a7749e..d92c13e78a56cf584772fb68783866be75b9bf79 100644 (file)
@@ -2987,20 +2987,11 @@ static int bc_send_request(struct rpc_rqst *req)
        return len;
 }
 
-/*
- * The close routine. Since this is client initiated, we do nothing
- */
-
 static void bc_close(struct rpc_xprt *xprt)
 {
        xprt_disconnect_done(xprt);
 }
 
-/*
- * The xprt destroy routine. Again, because this connection is client
- * initiated, we do nothing
- */
-
 static void bc_destroy(struct rpc_xprt *xprt)
 {
        dprintk("RPC:       bc_destroy xprt %p\n", xprt);