summaryrefslogtreecommitdiff
path: root/fs/lockd/host.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2006-08-22 20:06:19 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-22 23:24:49 -0400
commit6ca948238724c945bd353f51d54ae7d285f3889f (patch)
tree222aa223d93a4ffc7e662e1d80bb3b5d28b5f1a2 /fs/lockd/host.c
parentc4efcb1d3e0bc76aeb9ca6301d19a5079893c6c9 (diff)
downloadlwn-6ca948238724c945bd353f51d54ae7d285f3889f.tar.gz
lwn-6ca948238724c945bd353f51d54ae7d285f3889f.zip
SUNRPC: Clean-up after previous patches.
Remove some unused macros related to accessing an RPC peer address Test plan: Compile kernel with CONFIG_NFS option enabled. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r--fs/lockd/host.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c
index 38b0e8a1aec0..a516a01561b8 100644
--- a/fs/lockd/host.c
+++ b/fs/lockd/host.c
@@ -26,7 +26,6 @@
#define NLM_HOST_REBIND (60 * HZ)
#define NLM_HOST_EXPIRE ((nrhosts > NLM_HOST_MAX)? 300 * HZ : 120 * HZ)
#define NLM_HOST_COLLECT ((nrhosts > NLM_HOST_MAX)? 120 * HZ : 60 * HZ)
-#define NLM_HOST_ADDR(sv) (&(sv)->s_nlmclnt->cl_xprt->addr)
static struct nlm_host * nlm_hosts[NLM_HOST_NRHASH];
static unsigned long next_gc;