summaryrefslogtreecommitdiff
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-05-05 11:45:37 +0300
committerJ. Bruce Fields <bfields@redhat.com>2020-05-06 23:00:11 +0300
commit31fb4bf545e230f2c7db7e64cf012c67a8d374df (patch)
tree54aa7087ca7c8e03ce7d7e7e2df4a713591976be /net/sunrpc/svcauth_unix.c
parentc2d715a1af75443631b05a49edbd152aef7e8b93 (diff)
downloadlinux-31fb4bf545e230f2c7db7e64cf012c67a8d374df.tar.xz
sunrpc: Remove unused function ip_map_update
commit 49b28684fdba ("nfsd: Remove deprecated nfsctl system call and related code.") left behind this, remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r--net/sunrpc/svcauth_unix.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 6c8f802c4261..97c0bddba7a3 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -332,15 +332,6 @@ static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm,
return 0;
}
-static inline int ip_map_update(struct net *net, struct ip_map *ipm,
- struct unix_domain *udom, time64_t expiry)
-{
- struct sunrpc_net *sn;
-
- sn = net_generic(net, sunrpc_net_id);
- return __ip_map_update(sn->ip_map_cache, ipm, udom, expiry);
-}
-
void svcauth_unix_purge(struct net *net)
{
struct sunrpc_net *sn;