summaryrefslogtreecommitdiffstats
path: root/support/export/client.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-03-22 10:10:59 -0400
committerSteve Dickson <steved@redhat.com>2010-03-22 10:10:59 -0400
commitaa4c771fc359e097a3a6c3637f78c7bed7c450e9 (patch)
treee34e4899172878c42ad031b84e12f3061cefefc9 /support/export/client.c
parent0935cebc1e130c6adfd870c88a6493277c84d47f (diff)
downloadnfs-utils-aa4c771fc359e097a3a6c3637f78c7bed7c450e9.tar.gz
nfs-utils-aa4c771fc359e097a3a6c3637f78c7bed7c450e9.tar.xz
nfs-utils-aa4c771fc359e097a3a6c3637f78c7bed7c450e9.zip
libexport.a: Remove dead code
Clean up: I can't find any call sites for client_find() or client_match(). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/client.c')
-rw-r--r--support/export/client.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/support/export/client.c b/support/export/client.c
index 6236561..f8c84de 100644
--- a/support/export/client.c
+++ b/support/export/client.c
@@ -211,28 +211,6 @@ client_freeall(void)
}
}
-nfs_client *
-client_find(struct hostent *hp)
-{
- nfs_client *clp;
- int i;
-
- for (i = 0; i < MCL_MAXTYPES; i++) {
- for (clp = clientlist[i]; clp; clp = clp->m_next) {
- if (!client_check(clp, hp))
- continue;
-#ifdef notdef
- if (clp->m_type == MCL_FQDN)
- return clp;
- return client_dup(clp, hp);
-#else
- return clp;
-#endif
- }
- }
- return NULL;
-}
-
struct hostent *
client_resolve(struct in_addr addr)
{