summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth_null.c
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2017-02-07 16:48:49 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-02-09 01:02:46 +0300
commitaf4926e5619f8a33463f7202f27ba091893ed2ad (patch)
treed0725301e6621400fdf900535da411708d18fa76 /net/sunrpc/auth_null.c
parent5786461bd8ea81433d81297215ee814a9a33ce7a (diff)
downloadlinux-af4926e5619f8a33463f7202f27ba091893ed2ad.tar.xz
sunrpc: remove dead codes of cr_magic in rpc_cred
Don't found any place using the cr_magic. Signed-off-by: Kinglong Mee <kinglongmee@gmail.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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c
index 4d17376b2acb..5f3d527dff65 100644
--- a/net/sunrpc/auth_null.c
+++ b/net/sunrpc/auth_null.c
@@ -139,7 +139,4 @@ struct rpc_cred null_cred = {
.cr_ops = &null_credops,
.cr_count = ATOMIC_INIT(1),
.cr_flags = 1UL << RPCAUTH_CRED_UPTODATE,
-#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
- .cr_magic = RPCAUTH_CRED_MAGIC,
-#endif
};