diff options
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 625ba72e624a..c62e446723ae 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -592,16 +592,6 @@ static struct rpc_procinfo rpcb_procedures4[] = { | |||
592 | }; | 592 | }; |
593 | 593 | ||
594 | static struct rpcb_info rpcb_next_version[] = { | 594 | static struct rpcb_info rpcb_next_version[] = { |
595 | #ifdef CONFIG_SUNRPC_BIND34 | ||
596 | { | ||
597 | .rpc_vers = RPCBVERS_4, | ||
598 | .rpc_proc = &rpcb_procedures4[RPCBPROC_GETADDR], | ||
599 | }, | ||
600 | { | ||
601 | .rpc_vers = RPCBVERS_3, | ||
602 | .rpc_proc = &rpcb_procedures3[RPCBPROC_GETADDR], | ||
603 | }, | ||
604 | #endif | ||
605 | { | 595 | { |
606 | .rpc_vers = RPCBVERS_2, | 596 | .rpc_vers = RPCBVERS_2, |
607 | .rpc_proc = &rpcb_procedures2[RPCBPROC_GETPORT], | 597 | .rpc_proc = &rpcb_procedures2[RPCBPROC_GETPORT], |
@@ -612,7 +602,6 @@ static struct rpcb_info rpcb_next_version[] = { | |||
612 | }; | 602 | }; |
613 | 603 | ||
614 | static struct rpcb_info rpcb_next_version6[] = { | 604 | static struct rpcb_info rpcb_next_version6[] = { |
615 | #ifdef CONFIG_SUNRPC_BIND34 | ||
616 | { | 605 | { |
617 | .rpc_vers = RPCBVERS_4, | 606 | .rpc_vers = RPCBVERS_4, |
618 | .rpc_proc = &rpcb_procedures4[RPCBPROC_GETADDR], | 607 | .rpc_proc = &rpcb_procedures4[RPCBPROC_GETADDR], |
@@ -621,7 +610,6 @@ static struct rpcb_info rpcb_next_version6[] = { | |||
621 | .rpc_vers = RPCBVERS_3, | 610 | .rpc_vers = RPCBVERS_3, |
622 | .rpc_proc = &rpcb_procedures3[RPCBPROC_GETADDR], | 611 | .rpc_proc = &rpcb_procedures3[RPCBPROC_GETADDR], |
623 | }, | 612 | }, |
624 | #endif | ||
625 | { | 613 | { |
626 | .rpc_proc = NULL, | 614 | .rpc_proc = NULL, |
627 | }, | 615 | }, |