SUNRPC: drop stale setup_socket doc comments
Subsystems (3)
PATCH 1/1 SUNRPC: drop stale setup_socket doc comments
xs_local_setup_socket() and xs_tcp_setup_socket() have outdated arguments listed in the doc comments. Drop arguments that no longer exist.
Signed-off-by Stefan Hajnoczi <[email protected]>
--- net/sunrpc/xprtsock.c | 5 ----- 1 file changed, 5 deletions(-)
net/sunrpc/xprtsock.c +0 -5
@@ -1886,9 +1886,7 @@ static int xs_local_finish_connecting(struct rpc_xprt *xprt,/** * xs_local_setup_socket - create AF_LOCAL socket, connect to a local endpoint -* @xprt: RPC transport to connect * @transport: socket transport to connect -* @create_sock: function to create a socket of the correct type */ static int xs_local_setup_socket (struct sock_xprt *transport) {
@@ -2125,9 +2123,6 @@ out:/** * xs_tcp_setup_socket - create a TCP socket and connect to a remote endpoint -* @xprt: RPC transport to connect -* @transport: socket transport to connect -* @create_sock: function to create a socket of the correct type * * Invoked by a work queue tasklet. */
Signature · 1 line
2.1.0
Hi Stefan,
Quoted 3 lines · Stefan Hajnoczi
xs_local_setup_socket()andxs_tcp_setup_socket()have outdated arguments listed in the doc comments. Drop arguments that no longer exist.
Can you please fix up xs_local_data_ready(), xs_udp_data_ready(), and xs_tcp_data_ready() while you're at it?
Thanks!
Anna
Quoted 31 lines
Signed-off-by Stefan Hajnoczi <[email protected]>--- net/sunrpc/xprtsock.c | 5 ----- 1 file changed, 5 deletions(-)net/sunrpc/xprtsock.c +0
-5@@ -1886,9 +1886,7 @@ static int xs_local_finish_connecting(struct rpc_xprt *xprt,/** * xs_local_setup_socket - create AF_LOCAL socket, connect to a local endpoint -* @xprt: RPC transport to connect * @transport: socket transport to connect -* @create_sock: function to create a socket of the correct type */ static int xs_local_setup_socket (struct sock_xprt *transport) {@@ -2125,9 +2123,6 @@ out:/** * xs_tcp_setup_socket - create a TCP socket and connect to a remote endpoint -* @xprt: RPC transport to connect -* @transport: socket transport to connect -* @create_sock: function to create a socket of the correct type * * Invoked by a work queue tasklet. */
Quoted 6 lines · Anna Schumaker
Quoted 3 lines · Stefan Hajnoczi
xs_local_setup_socket()andxs_tcp_setup_socket()have outdated arguments listed in the doc comments. Drop arguments that no longer exist.Can you please fix up
xs_local_data_ready(),xs_udp_data_ready(), andxs_tcp_data_ready()while you're at it?
Sure, will send a v2.
Stefan