2006-07-06 05:17:47

by Greg Banks

[permalink] [raw]
Subject: [PATCH 002 of 3] knfsd: Remove an unused variable from e_show()

knfsd: Remove an unused variable from e_show().

Signed-off-by: Greg Banks <[email protected]>
---

fs/nfsd/export.c | 2 --
1 files changed, 2 deletions(-)

Index: linus-git/fs/nfsd/export.c
===================================================================
--- linus-git.orig/fs/nfsd/export.c 2006-07-06 12:17:25.500087628 +1000
+++ linus-git/fs/nfsd/export.c 2006-07-06 12:47:49.949013131 +1000
@@ -1178,7 +1178,6 @@ static int e_show(struct seq_file *m, vo
{
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, vo
return 0;
}

- clp = exp->ex_client;
cache_get(&exp->h);
if (cache_check(&svc_export_cache, &exp->h, NULL))
return 0;


Greg
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs