diff options
author | Chuck Lever <cel@netapp.com> | 2005-11-01 12:24:48 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-11-04 15:39:45 -0500 |
commit | c556b754967afd0878d65de2cfe0675577b0f62f (patch) | |
tree | fac27d23ff5230bef203fa30f26ba9faee56d987 /net/sunrpc/sysctl.c | |
parent | 6bfc93ef98f00b38f1913a7fdeae46ae8dbd7c52 (diff) | |
download | linux-stable-c556b754967afd0878d65de2cfe0675577b0f62f.tar.gz linux-stable-c556b754967afd0878d65de2cfe0675577b0f62f.tar.bz2 linux-stable-c556b754967afd0878d65de2cfe0675577b0f62f.zip |
SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled
The sunrpc module should build properly even when CONFIG_SYSCTL is
disabled.
Reported by Jan-Benedict Glaw.
Test plan:
Compile kernel with CONFIG_NFS as a module and built-in, and CONFIG_SYSCTL
enabled and disabled.
Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sysctl.c')
-rw-r--r-- | net/sunrpc/sysctl.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index d0c9f460e411..1065904841fd 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c @@ -119,13 +119,6 @@ done: return 0; } -unsigned int xprt_udp_slot_table_entries = RPC_DEF_SLOT_TABLE; -unsigned int xprt_tcp_slot_table_entries = RPC_DEF_SLOT_TABLE; -unsigned int xprt_min_resvport = RPC_DEF_MIN_RESVPORT; -EXPORT_SYMBOL(xprt_min_resvport); -unsigned int xprt_max_resvport = RPC_DEF_MAX_RESVPORT; -EXPORT_SYMBOL(xprt_max_resvport); - static unsigned int min_slot_table_size = RPC_MIN_SLOT_TABLE; static unsigned int max_slot_table_size = RPC_MAX_SLOT_TABLE; |