提交 b06c7b43 编写于 作者: G Greg Banks 提交者: Linus Torvalds

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

Signed-off-by: NGreg Banks <gnb@melbourne.sgi.com>
Signed-off-by: NNeil Brown <neilb@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册