aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r--net/sunrpc/xprt.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 7520c6623c46..2bc99569c586 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -978,23 +978,6 @@ void xprt_release(struct rpc_task *task)
978} 978}
979 979
980/** 980/**
981 * xprt_set_timeout - set constant RPC timeout
982 * @to: RPC timeout parameters to set up
983 * @retr: number of retries
984 * @incr: amount of increase after each retry
985 *
986 */
987void xprt_set_timeout(struct rpc_timeout *to, unsigned int retr, unsigned long incr)
988{
989 to->to_initval =
990 to->to_increment = incr;
991 to->to_maxval = to->to_initval + (incr * retr);
992 to->to_retries = retr;
993 to->to_exponential = 0;
994}
995EXPORT_SYMBOL_GPL(xprt_set_timeout);
996
997/**
998 * xprt_create_transport - create an RPC transport 981 * xprt_create_transport - create an RPC transport
999 * @args: rpc transport creation arguments 982 * @args: rpc transport creation arguments
1000 * 983 *