diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-12-21 00:03:54 +0300 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 10:05:58 +0300 |
commit | 2881ae74e68ecfe3b32a90936e5d93a9ba598c3a (patch) | |
tree | d454fdf3b5da159935ca268648d45b5d1a29027d /net/sunrpc/xprt.c | |
parent | 698b6d088e8a5d907596c689d5ae9109611c5b59 (diff) | |
download | linux-2881ae74e68ecfe3b32a90936e5d93a9ba598c3a.tar.xz |
SUNRPC: Clean up the transport timeout initialisation
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r-- | net/sunrpc/xprt.c | 17 |
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) } /** - * xprt_set_timeout - set constant RPC timeout - * @to: RPC timeout parameters to set up - * @retr: number of retries - * @incr: amount of increase after each retry - * - */ -void xprt_set_timeout(struct rpc_timeout *to, unsigned int retr, unsigned long incr) -{ - to->to_initval = - to->to_increment = incr; - to->to_maxval = to->to_initval + (incr * retr); - to->to_retries = retr; - to->to_exponential = 0; -} -EXPORT_SYMBOL_GPL(xprt_set_timeout); - -/** * xprt_create_transport - create an RPC transport * @args: rpc transport creation arguments * |