Skip to content

Commit e14bec2

Browse files
Ingo Molnardavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e6a1762 commit e14bec2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/ax25/sysctl_net_ax25.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ static int min_idle[1], max_idle[] = {65535000};
2424
static int min_n2[] = {1}, max_n2[] = {31};
2525
static int min_paclen[] = {1}, max_paclen[] = {512};
2626
static int min_proto[1], max_proto[] = { AX25_PROTO_MAX };
27+
#ifdef CONFIG_AX25_DAMA_SLAVE
2728
static int min_ds_timeout[1], max_ds_timeout[] = {65535000};
29+
#endif
2830

2931
static struct ctl_table_header *ax25_table_header;
3032

0 commit comments

Comments
 (0)