summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust2015-06-02 04:59:08 +0200
committerTrond Myklebust2015-06-05 17:15:42 +0200
commit0f41979164a52a1ca0f0a601f90000fc18e3a396 (patch)
treebd988ee2e67be19b718883af1379ad9c16e3c41f /net/sunrpc/clnt.c
parentSUNRPC: Clean up bc_send() (diff)
downloadkernel-qcow2-linux-0f41979164a52a1ca0f0a601f90000fc18e3a396.tar.gz
kernel-qcow2-linux-0f41979164a52a1ca0f0a601f90000fc18e3a396.tar.xz
kernel-qcow2-linux-0f41979164a52a1ca0f0a601f90000fc18e3a396.zip
SUNRPC: Remove unused argument 'tk_ops' in rpc_run_bc_task
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index fa70f663eb92..f6717170480e 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -1031,15 +1031,13 @@ EXPORT_SYMBOL_GPL(rpc_call_async);
* rpc_run_bc_task - Allocate a new RPC task for backchannel use, then run
* rpc_execute against it
* @req: RPC request
- * @tk_ops: RPC call ops
*/
-struct rpc_task *rpc_run_bc_task(struct rpc_rqst *req,
- const struct rpc_call_ops *tk_ops)
+struct rpc_task *rpc_run_bc_task(struct rpc_rqst *req)
{
struct rpc_task *task;
struct xdr_buf *xbufp = &req->rq_snd_buf;
struct rpc_task_setup task_setup_data = {
- .callback_ops = tk_ops,
+ .callback_ops = &rpc_default_ops,
};
dprintk("RPC: rpc_run_bc_task req= %p\n", req);