]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/export/client.c
libexport.a: Remove dead code
[nfs-utils.git] / support / export / client.c
index 6236561465f26261175b290276abeb10c39de0bd..f8c84de32178ba7c6b685aeb0f8c3dacdf927ff7 100644 (file)
@@ -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)
 {