SUNRPC: Kill rpc_clnt->cl_dead

Its use is at best racy, and there is only one user (lockd), which has
additional locking that makes the whole thing redundant.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Trond Myklebust
2007-06-09 19:39:12 -04:00
parent 34f52e3591
commit 848f1fe6be
2 changed files with 4 additions and 17 deletions

View File

@ -45,8 +45,7 @@ struct rpc_clnt {
cl_intr : 1,/* interruptible */
cl_discrtry : 1,/* disconnect before retry */
cl_autobind : 1,/* use getport() */
cl_oneshot : 1,/* dispose after use */
cl_dead : 1;/* abandoned */
cl_oneshot : 1;/* dispose after use */
struct rpc_rtt * cl_rtt; /* RTO estimator data */