summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2017-02-07 21:48:49 +0800
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-02-08 17:02:46 -0500
commitaf4926e5619f8a33463f7202f27ba091893ed2ad (patch)
treed0725301e6621400fdf900535da411708d18fa76 /include
parent5786461bd8ea81433d81297215ee814a9a33ce7a (diff)
downloadlinux-stable-af4926e5619f8a33463f7202f27ba091893ed2ad.tar.gz
linux-stable-af4926e5619f8a33463f7202f27ba091893ed2ad.tar.bz2
linux-stable-af4926e5619f8a33463f7202f27ba091893ed2ad.zip
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 'include')
-rw-r--r--include/linux/sunrpc/auth.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index 39c85fb1f0ed..8fd3504946ad 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -64,9 +64,6 @@ struct rpc_cred {
struct rcu_head cr_rcu;
struct rpc_auth * cr_auth;
const struct rpc_credops *cr_ops;
-#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
- unsigned long cr_magic; /* 0x0f4aa4f0 */
-#endif
unsigned long cr_expire; /* when to gc */
unsigned long cr_flags; /* various flags */
atomic_t cr_count; /* ref count */
@@ -80,8 +77,6 @@ struct rpc_cred {
#define RPCAUTH_CRED_HASHED 2
#define RPCAUTH_CRED_NEGATIVE 3
-#define RPCAUTH_CRED_MAGIC 0x0f4aa4f0
-
/* rpc_auth au_flags */
#define RPCAUTH_AUTH_NO_CRKEY_TIMEOUT 0x0001 /* underlying cred has no key timeout */