@@ -507,7 +507,6 @@ static inline void xs_encode_stream_record_marker(struct xdr_buf *buf)
507
507
/**
508
508
* xs_local_send_request - write an RPC request to an AF_LOCAL socket
509
509
* @req: pointer to RPC request
510
- * @task: RPC task that manages the state of an RPC request
511
510
*
512
511
* Return values:
513
512
* 0: The request has been sent
@@ -516,7 +515,7 @@ static inline void xs_encode_stream_record_marker(struct xdr_buf *buf)
516
515
* ENOTCONN: Caller needs to invoke connect logic then call again
517
516
* other: Some other error occured, the request was not sent
518
517
*/
519
- static int xs_local_send_request (struct rpc_rqst * req , struct rpc_task * task )
518
+ static int xs_local_send_request (struct rpc_rqst * req )
520
519
{
521
520
struct rpc_xprt * xprt = req -> rq_xprt ;
522
521
struct sock_xprt * transport =
@@ -579,7 +578,6 @@ static int xs_local_send_request(struct rpc_rqst *req, struct rpc_task *task)
579
578
/**
580
579
* xs_udp_send_request - write an RPC request to a UDP socket
581
580
* @req: pointer to RPC request
582
- * @task: address of RPC task that manages the state of an RPC request
583
581
*
584
582
* Return values:
585
583
* 0: The request has been sent
@@ -588,7 +586,7 @@ static int xs_local_send_request(struct rpc_rqst *req, struct rpc_task *task)
588
586
* ENOTCONN: Caller needs to invoke connect logic then call again
589
587
* other: Some other error occurred, the request was not sent
590
588
*/
591
- static int xs_udp_send_request (struct rpc_rqst * req , struct rpc_task * task )
589
+ static int xs_udp_send_request (struct rpc_rqst * req )
592
590
{
593
591
struct rpc_xprt * xprt = req -> rq_xprt ;
594
592
struct sock_xprt * transport = container_of (xprt , struct sock_xprt , xprt );
@@ -656,7 +654,6 @@ static int xs_udp_send_request(struct rpc_rqst *req, struct rpc_task *task)
656
654
/**
657
655
* xs_tcp_send_request - write an RPC request to a TCP socket
658
656
* @req: pointer to RPC request
659
- * @task: address of RPC task that manages the state of an RPC request
660
657
*
661
658
* Return values:
662
659
* 0: The request has been sent
@@ -668,7 +665,7 @@ static int xs_udp_send_request(struct rpc_rqst *req, struct rpc_task *task)
668
665
* XXX: In the case of soft timeouts, should we eventually give up
669
666
* if sendmsg is not able to make progress?
670
667
*/
671
- static int xs_tcp_send_request (struct rpc_rqst * req , struct rpc_task * task )
668
+ static int xs_tcp_send_request (struct rpc_rqst * req )
672
669
{
673
670
struct rpc_xprt * xprt = req -> rq_xprt ;
674
671
struct sock_xprt * transport = container_of (xprt , struct sock_xprt , xprt );
@@ -2704,7 +2701,7 @@ static int bc_sendto(struct rpc_rqst *req)
2704
2701
/*
2705
2702
* The send routine. Borrows from svc_send
2706
2703
*/
2707
- static int bc_send_request (struct rpc_rqst * req , struct rpc_task * task )
2704
+ static int bc_send_request (struct rpc_rqst * req )
2708
2705
{
2709
2706
struct svc_xprt * xprt ;
2710
2707
int len ;
0 commit comments