diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-25 19:58:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 19:58:19 -0500 |
commit | e14bec2e2b59a6180f04544a867b7e52cd414455 (patch) | |
tree | 03203824ffb39b1758cf78325401935f6f35fa31 /net/ax25 | |
parent | e6a176228a38d74c0360ca586146bd45a2ac2d60 (diff) |
ax25: fix warning in net/ax25/sysctl_net_ax25.c
fix this warning:
net/ax25/sysctl_net_ax25.c:27: warning: ‘min_ds_timeout’ defined but not used
net/ax25/sysctl_net_ax25.c:27: warning: ‘max_ds_timeout’ defined but not used
These are only used in the CONFIG_AX25_DAMA_SLAVE case.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')
-rw-r--r-- | net/ax25/sysctl_net_ax25.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ax25/sysctl_net_ax25.c b/net/ax25/sysctl_net_ax25.c index c1d877bb5dff..62ee3fb34732 100644 --- a/net/ax25/sysctl_net_ax25.c +++ b/net/ax25/sysctl_net_ax25.c | |||
@@ -24,7 +24,9 @@ static int min_idle[1], max_idle[] = {65535000}; | |||
24 | static int min_n2[] = {1}, max_n2[] = {31}; | 24 | static int min_n2[] = {1}, max_n2[] = {31}; |
25 | static int min_paclen[] = {1}, max_paclen[] = {512}; | 25 | static int min_paclen[] = {1}, max_paclen[] = {512}; |
26 | static int min_proto[1], max_proto[] = { AX25_PROTO_MAX }; | 26 | static int min_proto[1], max_proto[] = { AX25_PROTO_MAX }; |
27 | #ifdef CONFIG_AX25_DAMA_SLAVE | ||
27 | static int min_ds_timeout[1], max_ds_timeout[] = {65535000}; | 28 | static int min_ds_timeout[1], max_ds_timeout[] = {65535000}; |
29 | #endif | ||
28 | 30 | ||
29 | static struct ctl_table_header *ax25_table_header; | 31 | static struct ctl_table_header *ax25_table_header; |
30 | 32 | ||