Commit b06c7b43 authored by Greg Banks's avatar Greg Banks Committed by Linus Torvalds

[PATCH] knfsd: remove an unused variable from e_show()

Signed-off-by: default avatarGreg Banks <gnb@melbourne.sgi.com>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3e3b4800
...@@ -1178,7 +1178,6 @@ static int e_show(struct seq_file *m, void *p) ...@@ -1178,7 +1178,6 @@ static int e_show(struct seq_file *m, void *p)
{ {
struct cache_head *cp = p; struct cache_head *cp = p;
struct svc_export *exp = container_of(cp, struct svc_export, h); struct svc_export *exp = container_of(cp, struct svc_export, h);
svc_client *clp;
if (p == (void *)1) { if (p == (void *)1) {
seq_puts(m, "# Version 1.1\n"); seq_puts(m, "# Version 1.1\n");
...@@ -1186,7 +1185,6 @@ static int e_show(struct seq_file *m, void *p) ...@@ -1186,7 +1185,6 @@ static int e_show(struct seq_file *m, void *p)
return 0; return 0;
} }
clp = exp->ex_client;
cache_get(&exp->h); cache_get(&exp->h);
if (cache_check(&svc_export_cache, &exp->h, NULL)) if (cache_check(&svc_export_cache, &exp->h, NULL))
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment