From: Greg Banks Date: Mon, 2 Oct 2006 09:17:42 +0000 (-0700) Subject: [PATCH] knfsd: remove an unused variable from e_show() X-Git-Tag: v2.6.19-rc1~446 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b06c7b43335788a62f77a9be9cc8eb479a929853;p=linux-2.6-omap-h63xx.git [PATCH] knfsd: remove an unused variable from e_show() Signed-off-by: Greg Banks Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 340c31a4f3f..0e1f5d1f1c1 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;