aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2010-12-15 14:47:20 +0800
committerJ. Bruce Fields <bfields@redhat.com>2010-12-17 15:48:21 -0500
commit66c941f4aa8aef397a757001af61073db23b39e5 (patch)
tree5b3e1d1d210eef44f99c9ff716ec17cba93a89fd /net/sunrpc/auth_gss
parent5b6a599f0da3722dea9ecc01d97f54061662ce49 (diff)
downloadkernel_samsung_aries-66c941f4aa8aef397a757001af61073db23b39e5.zip
kernel_samsung_aries-66c941f4aa8aef397a757001af61073db23b39e5.tar.gz
kernel_samsung_aries-66c941f4aa8aef397a757001af61073db23b39e5.tar.bz2
net: sunrpc: kill unused macros
These macros never be used for several years. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r--net/sunrpc/auth_gss/svcauth_gss.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/svcauth_gss.c b/net/sunrpc/auth_gss/svcauth_gss.c
index dec2a6f..bcdae78 100644
--- a/net/sunrpc/auth_gss/svcauth_gss.c
+++ b/net/sunrpc/auth_gss/svcauth_gss.c
@@ -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