Skip to content

Commit

Permalink
sunrpc: Remove unused function ip_map_update
Browse files Browse the repository at this point in the history
commit 49b2868 ("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>
  • Loading branch information
YueHaibing authored and J. Bruce Fields committed May 6, 2020
1 parent c2d715a commit 31fb4bf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions net/sunrpc/svcauth_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31fb4bf

Please sign in to comment.