Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Shan Wei and committed by
J. Bruce Fields
66c941f4 5b6a599f

-5
-2
net/sunrpc/auth_gss/svcauth_gss.c
··· 67 67 68 68 #define RSI_HASHBITS 6 69 69 #define RSI_HASHMAX (1<<RSI_HASHBITS) 70 - #define RSI_HASHMASK (RSI_HASHMAX-1) 71 70 72 71 struct rsi { 73 72 struct cache_head h; ··· 318 319 319 320 #define RSC_HASHBITS 10 320 321 #define RSC_HASHMAX (1<<RSC_HASHBITS) 321 - #define RSC_HASHMASK (RSC_HASHMAX-1) 322 322 323 323 #define GSS_SEQ_WIN 128 324 324
-1
net/sunrpc/svcauth.c
··· 118 118 119 119 #define DN_HASHBITS 6 120 120 #define DN_HASHMAX (1<<DN_HASHBITS) 121 - #define DN_HASHMASK (DN_HASHMAX-1) 122 121 123 122 static struct hlist_head auth_domain_table[DN_HASHMAX]; 124 123 static spinlock_t auth_domain_lock =
-2
net/sunrpc/svcauth_unix.c
··· 85 85 */ 86 86 #define IP_HASHBITS 8 87 87 #define IP_HASHMAX (1<<IP_HASHBITS) 88 - #define IP_HASHMASK (IP_HASHMAX-1) 89 88 90 89 struct ip_map { 91 90 struct cache_head h; ··· 496 497 */ 497 498 #define GID_HASHBITS 8 498 499 #define GID_HASHMAX (1<<GID_HASHBITS) 499 - #define GID_HASHMASK (GID_HASHMAX - 1) 500 500 501 501 struct unix_gid { 502 502 struct cache_head h;