aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 44fe7fd..73bf4ec 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -242,7 +242,7 @@ static int nfs_sockaddr_match_ipaddr(const struct sockaddr *sa1,
* Find a client by IP address and protocol version
* - returns NULL if no such client
*/
-struct nfs_client *_nfs_find_client(const struct sockaddr *addr, int nfsversion)
+struct nfs_client *nfs_find_client(const struct sockaddr *addr, u32 nfsversion)
{
struct nfs_client *clp;
@@ -272,11 +272,6 @@ struct nfs_client *_nfs_find_client(const struct sockaddr *addr, int nfsversion)
return NULL;
}
-struct nfs_client *nfs_find_client(const struct sockaddr_in *addr, int nfsversion)
-{
- return _nfs_find_client((const struct sockaddr *)addr, nfsversion);
-}
-
/*
* Find an nfs_client on the list that matches the initialisation data
* that is supplied.