aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/rpcb_clnt.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c
index d2a2ea090f95..43838c72b778 100644
--- a/net/sunrpc/rpcb_clnt.c
+++ b/net/sunrpc/rpcb_clnt.c
@@ -57,10 +57,6 @@ enum {
57 RPCBPROC_GETSTAT, 57 RPCBPROC_GETSTAT,
58}; 58};
59 59
60#define RPCB_HIGHPROC_2 RPCBPROC_CALLIT
61#define RPCB_HIGHPROC_3 RPCBPROC_TADDR2UADDR
62#define RPCB_HIGHPROC_4 RPCBPROC_GETSTAT
63
64/* 60/*
65 * r_owner 61 * r_owner
66 * 62 *
@@ -975,19 +971,19 @@ static struct rpcb_info rpcb_next_version6[] = {
975 971
976static struct rpc_version rpcb_version2 = { 972static struct rpc_version rpcb_version2 = {
977 .number = RPCBVERS_2, 973 .number = RPCBVERS_2,
978 .nrprocs = RPCB_HIGHPROC_2, 974 .nrprocs = ARRAY_SIZE(rpcb_procedures2),
979 .procs = rpcb_procedures2 975 .procs = rpcb_procedures2
980}; 976};
981 977
982static struct rpc_version rpcb_version3 = { 978static struct rpc_version rpcb_version3 = {
983 .number = RPCBVERS_3, 979 .number = RPCBVERS_3,
984 .nrprocs = RPCB_HIGHPROC_3, 980 .nrprocs = ARRAY_SIZE(rpcb_procedures3),
985 .procs = rpcb_procedures3 981 .procs = rpcb_procedures3
986}; 982};
987 983
988static struct rpc_version rpcb_version4 = { 984static struct rpc_version rpcb_version4 = {
989 .number = RPCBVERS_4, 985 .number = RPCBVERS_4,
990 .nrprocs = RPCB_HIGHPROC_4, 986 .nrprocs = ARRAY_SIZE(rpcb_procedures4),
991 .procs = rpcb_procedures4 987 .procs = rpcb_procedures4
992}; 988};
993 989