From: YueHaibing Date: Tue, 5 May 2020 08:45:37 +0000 (+0800) Subject: sunrpc: Remove unused function ip_map_update X-Git-Tag: v5.8-rc1~52^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31fb4bf545e230f2c7db7e64cf012c67a8d374df;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: J. Bruce Fields --- diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c index 6c8f802c42612..97c0bddba7a30 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;