git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SUNRPC: remove generic cred code.
[sfrench/cifs-2.6.git]
/
net
/
sunrpc
/
auth_null.c
diff --git
a/net/sunrpc/auth_null.c
b/net/sunrpc/auth_null.c
index 135c75d6c47062929c527db4279d633f3546f5c4..830686e80bed224e3e114966218bec7686404608 100644
(file)
--- 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);
}