summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/export.c
diff options
context:
space:
mode:
authorGreg Banks <gnb@melbourne.sgi.com>2006-10-02 11:17:42 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-02 16:57:17 +0200
commitb06c7b43335788a62f77a9be9cc8eb479a929853 (patch)
tree8d03fc86d84d3f3f70d612442b2ba9a7fba7e3c0 /fs/nfsd/export.c
parent[PATCH] knfsd: add some missing newlines in printks (diff)
downloadlinux-b06c7b43335788a62f77a9be9cc8eb479a929853.tar.xz
linux-b06c7b43335788a62f77a9be9cc8eb479a929853.zip
[PATCH] knfsd: remove an unused variable from e_show()
Signed-off-by: Greg Banks <gnb@melbourne.sgi.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r--fs/nfsd/export.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 340c31a4f3fe..0e1f5d1f1c14 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1178,7 +1178,6 @@ static int e_show(struct seq_file *m, void *p)
{
struct cache_head *cp = p;
struct svc_export *exp = container_of(cp, struct svc_export, h);
- svc_client *clp;
if (p == (void *)1) {
seq_puts(m, "# Version 1.1\n");
@@ -1186,7 +1185,6 @@ static int e_show(struct seq_file *m, void *p)
return 0;
}
- clp = exp->ex_client;
cache_get(&exp->h);
if (cache_check(&svc_export_cache, &exp->h, NULL))
return 0;