sunrpc: Remove unused function ip_map_update
authorYueHaibing <yuehaibing@huawei.com>
Tue, 5 May 2020 08:45:37 +0000 (16:45 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 6 May 2020 20:00:11 +0000 (16:00 -0400)
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>
net/sunrpc/svcauth_unix.c

index 6c8f802c42612b6169d273db9c7196ad6bfb99c3..97c0bddba7a305167eabd70be175024ea58fbe6f 100644 (file)
@@ -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;