net: sunrpc: kill unused macros
Subsystems (4)
PATCH 2/3 net: sunrpc: kill unused macros
These macros never be used for several years.
Signed-off-by Shan Wei <[email protected]>
--- net/sunrpc/auth_gss/svcauth_gss.c | 2 -- net/sunrpc/svcauth.c | 1 - net/sunrpc/svcauth_unix.c | 2 -- 3 files changed, 0 insertions(+), 5 deletions(-)
net/sunrpc/auth_gss/svcauth_gss.c +0 -2
@@ -67,7 +67,6 @@ static int netobj_equal(struct xdr_netobj *a, struct xdr_netobj *b)#define RSI_HASHBITS 6#define RSI_HASHMAX (1<<RSI_HASHBITS) -#define RSI_HASHMASK (RSI_HASHMAX-1)struct rsi {struct cache_head h;
@@ -319,7 +318,6 @@ static struct rsi *rsi_update(struct rsi *new, struct rsi *old)#define RSC_HASHBITS 10#define RSC_HASHMAX (1<<RSC_HASHBITS) -#define RSC_HASHMASK (RSC_HASHMAX-1)#define GSS_SEQ_WIN 128
net/sunrpc/svcauth.c +0 -1
@@ -118,7 +118,6 @@ EXPORT_SYMBOL_GPL(svc_auth_unregister);#define DN_HASHBITS 6#define DN_HASHMAX (1<<DN_HASHBITS) -#define DN_HASHMASK (DN_HASHMAX-1)static struct hlist_head auth_domain_table[DN_HASHMAX ]; static spinlock_t auth_domain_lock =
net/sunrpc/svcauth_unix.c +0 -2
@@ -85,7 +85,6 @@ static void svcauth_unix_domain_release(struct auth_domain *dom)*/ #define IP_HASHBITS 8#define IP_HASHMAX (1<<IP_HASHBITS) -#define IP_HASHMASK (IP_HASHMAX-1)struct ip_map {struct cache_head h;
@@ -497,7 +496,6 @@ svcauth_unix_info_release(struct svc_xprt *xpt)*/ #define GID_HASHBITS 8#define GID_HASHMAX (1<<GID_HASHBITS) -#define GID_HASHMASK (GID_HASHMAX - 1)struct unix_gid {struct cache_head h;
Signature · 5 lines
1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Shan Wei
These macros never be used for several years.
Applying for 2.6.38.--b.
Quoted 63 lines
Signed-off-by Shan Wei <[email protected]>--- net/sunrpc/auth_gss/svcauth_gss.c | 2 -- net/sunrpc/svcauth.c | 1 - net/sunrpc/svcauth_unix.c | 2 -- 3 files changed, 0 insertions(+), 5 deletions(-)net/sunrpc/auth_gss/svcauth_gss.c +0
-2@@ -67,7 +67,6 @@ static int netobj_equal(struct xdr_netobj *a, struct xdr_netobj *b)#define RSI_HASHBITS 6#define RSI_HASHMAX (1<<RSI_HASHBITS) -#define RSI_HASHMASK (RSI_HASHMAX-1)struct rsi {struct cache_head h;@@ -319,7 +318,6 @@ static struct rsi *rsi_update(struct rsi *new, struct rsi *old)#define RSC_HASHBITS 10#define RSC_HASHMAX (1<<RSC_HASHBITS) -#define RSC_HASHMASK (RSC_HASHMAX-1)#define GSS_SEQ_WIN 128net/sunrpc/svcauth.c +0
-1@@ -118,7 +118,6 @@ EXPORT_SYMBOL_GPL(svc_auth_unregister);#define DN_HASHBITS 6#define DN_HASHMAX (1<<DN_HASHBITS) -#define DN_HASHMASK (DN_HASHMAX-1)static struct hlist_head auth_domain_table[DN_HASHMAX ]; static spinlock_t auth_domain_lock =net/sunrpc/svcauth_unix.c +0
-2@@ -85,7 +85,6 @@ static void svcauth_unix_domain_release(struct auth_domain *dom)*/ #define IP_HASHBITS 8#define IP_HASHMAX (1<<IP_HASHBITS) -#define IP_HASHMASK (IP_HASHMAX-1)struct ip_map {struct cache_head h;@@ -497,7 +496,6 @@ svcauth_unix_info_release(struct svc_xprt *xpt)*/ #define GID_HASHBITS 8#define GID_HASHMAX (1<<GID_HASHBITS) -#define GID_HASHMASK (GID_HASHMAX - 1)struct unix_gid {struct cache_head h;Signature · 1 line
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html