summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcauth_unix.c
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/svcauth_unix.c
parent5b6a599f0da3722dea9ecc01d97f54061662ce49 (diff)
downloadlinux-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/svcauth_unix.c')
-rw-r--r--net/sunrpc/svcauth_unix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index 560677d187f1..a04ac9193d59 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -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;