summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_null.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-12-03 01:30:31 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-12-19 19:52:46 +0100
commit89a4f758d9f55f197c2a461f61ffa4a75127b30d (patch)
treee16ebcd4b9aea02a27889a0efb683aa6d3d0a450 /net/sunrpc/auth_null.c
parentNFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. (diff)
downloadlinux-89a4f758d9f55f197c2a461f61ffa4a75127b30d.tar.xz
linux-89a4f758d9f55f197c2a461f61ffa4a75127b30d.zip
SUNRPC: remove generic cred code.
This is no longer used. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_null.c')
-rw-r--r--net/sunrpc/auth_null.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c
index 135c75d6c470..830686e80bed 100644
--- a/net/sunrpc/auth_null.c
+++ b/net/sunrpc/auth_null.c
@@ -36,8 +36,6 @@ nul_destroy(struct rpc_auth *auth)
static struct rpc_cred *
nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags)
{
- if (flags & RPCAUTH_LOOKUP_RCU)
- return &null_cred;
return get_rpccred(&null_cred);
}