diff options
-rw-r--r-- | include/linux/sysctl.h | 14 | ||||
-rw-r--r-- | net/dccp/sysctl.c | 10 |
2 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 61dd99c6c2a5..94316a98e0d0 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -606,20 +606,6 @@ enum { | |||
606 | NET_DCCP_DEFAULT=1, | 606 | NET_DCCP_DEFAULT=1, |
607 | }; | 607 | }; |
608 | 608 | ||
609 | /* /proc/sys/net/dccp/default */ | ||
610 | enum { | ||
611 | NET_DCCP_DEFAULT_SEQ_WINDOW = 1, | ||
612 | NET_DCCP_DEFAULT_RX_CCID = 2, | ||
613 | NET_DCCP_DEFAULT_TX_CCID = 3, | ||
614 | NET_DCCP_DEFAULT_ACK_RATIO = 4, | ||
615 | NET_DCCP_DEFAULT_SEND_ACKVEC = 5, | ||
616 | NET_DCCP_DEFAULT_SEND_NDP = 6, | ||
617 | NET_DCCP_DEFAULT_REQ_RETRIES = 7, | ||
618 | NET_DCCP_DEFAULT_RETRIES1 = 8, | ||
619 | NET_DCCP_DEFAULT_RETRIES2 = 9, | ||
620 | NET_DCCP_DEFAULT_TX_QLEN = 10, | ||
621 | }; | ||
622 | |||
623 | /* /proc/sys/net/ipx */ | 609 | /* /proc/sys/net/ipx */ |
624 | enum { | 610 | enum { |
625 | NET_IPX_PPROP_BROADCASTING=1, | 611 | NET_IPX_PPROP_BROADCASTING=1, |
diff --git a/net/dccp/sysctl.c b/net/dccp/sysctl.c index 4775ba3faa04..fdcfca3e9208 100644 --- a/net/dccp/sysctl.c +++ b/net/dccp/sysctl.c | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | static struct ctl_table dccp_default_table[] = { | 21 | static struct ctl_table dccp_default_table[] = { |
22 | { | 22 | { |
23 | .ctl_name = NET_DCCP_DEFAULT_SEQ_WINDOW, | ||
24 | .procname = "seq_window", | 23 | .procname = "seq_window", |
25 | .data = &sysctl_dccp_feat_sequence_window, | 24 | .data = &sysctl_dccp_feat_sequence_window, |
26 | .maxlen = sizeof(sysctl_dccp_feat_sequence_window), | 25 | .maxlen = sizeof(sysctl_dccp_feat_sequence_window), |
@@ -28,7 +27,6 @@ static struct ctl_table dccp_default_table[] = { | |||
28 | .proc_handler = proc_dointvec, | 27 | .proc_handler = proc_dointvec, |
29 | }, | 28 | }, |
30 | { | 29 | { |
31 | .ctl_name = NET_DCCP_DEFAULT_RX_CCID, | ||
32 | .procname = "rx_ccid", | 30 | .procname = "rx_ccid", |
33 | .data = &sysctl_dccp_feat_rx_ccid, | 31 | .data = &sysctl_dccp_feat_rx_ccid, |
34 | .maxlen = sizeof(sysctl_dccp_feat_rx_ccid), | 32 | .maxlen = sizeof(sysctl_dccp_feat_rx_ccid), |
@@ -36,7 +34,6 @@ static struct ctl_table dccp_default_table[] = { | |||
36 | .proc_handler = proc_dointvec, | 34 | .proc_handler = proc_dointvec, |
37 | }, | 35 | }, |
38 | { | 36 | { |
39 | .ctl_name = NET_DCCP_DEFAULT_TX_CCID, | ||
40 | .procname = "tx_ccid", | 37 | .procname = "tx_ccid", |
41 | .data = &sysctl_dccp_feat_tx_ccid, | 38 | .data = &sysctl_dccp_feat_tx_ccid, |
42 | .maxlen = sizeof(sysctl_dccp_feat_tx_ccid), | 39 | .maxlen = sizeof(sysctl_dccp_feat_tx_ccid), |
@@ -44,7 +41,6 @@ static struct ctl_table dccp_default_table[] = { | |||
44 | .proc_handler = proc_dointvec, | 41 | .proc_handler = proc_dointvec, |
45 | }, | 42 | }, |
46 | { | 43 | { |
47 | .ctl_name = NET_DCCP_DEFAULT_ACK_RATIO, | ||
48 | .procname = "ack_ratio", | 44 | .procname = "ack_ratio", |
49 | .data = &sysctl_dccp_feat_ack_ratio, | 45 | .data = &sysctl_dccp_feat_ack_ratio, |
50 | .maxlen = sizeof(sysctl_dccp_feat_ack_ratio), | 46 | .maxlen = sizeof(sysctl_dccp_feat_ack_ratio), |
@@ -52,7 +48,6 @@ static struct ctl_table dccp_default_table[] = { | |||
52 | .proc_handler = proc_dointvec, | 48 | .proc_handler = proc_dointvec, |
53 | }, | 49 | }, |
54 | { | 50 | { |
55 | .ctl_name = NET_DCCP_DEFAULT_SEND_ACKVEC, | ||
56 | .procname = "send_ackvec", | 51 | .procname = "send_ackvec", |
57 | .data = &sysctl_dccp_feat_send_ack_vector, | 52 | .data = &sysctl_dccp_feat_send_ack_vector, |
58 | .maxlen = sizeof(sysctl_dccp_feat_send_ack_vector), | 53 | .maxlen = sizeof(sysctl_dccp_feat_send_ack_vector), |
@@ -60,7 +55,6 @@ static struct ctl_table dccp_default_table[] = { | |||
60 | .proc_handler = proc_dointvec, | 55 | .proc_handler = proc_dointvec, |
61 | }, | 56 | }, |
62 | { | 57 | { |
63 | .ctl_name = NET_DCCP_DEFAULT_SEND_NDP, | ||
64 | .procname = "send_ndp", | 58 | .procname = "send_ndp", |
65 | .data = &sysctl_dccp_feat_send_ndp_count, | 59 | .data = &sysctl_dccp_feat_send_ndp_count, |
66 | .maxlen = sizeof(sysctl_dccp_feat_send_ndp_count), | 60 | .maxlen = sizeof(sysctl_dccp_feat_send_ndp_count), |
@@ -68,7 +62,6 @@ static struct ctl_table dccp_default_table[] = { | |||
68 | .proc_handler = proc_dointvec, | 62 | .proc_handler = proc_dointvec, |
69 | }, | 63 | }, |
70 | { | 64 | { |
71 | .ctl_name = NET_DCCP_DEFAULT_REQ_RETRIES, | ||
72 | .procname = "request_retries", | 65 | .procname = "request_retries", |
73 | .data = &sysctl_dccp_request_retries, | 66 | .data = &sysctl_dccp_request_retries, |
74 | .maxlen = sizeof(sysctl_dccp_request_retries), | 67 | .maxlen = sizeof(sysctl_dccp_request_retries), |
@@ -76,7 +69,6 @@ static struct ctl_table dccp_default_table[] = { | |||
76 | .proc_handler = proc_dointvec, | 69 | .proc_handler = proc_dointvec, |
77 | }, | 70 | }, |
78 | { | 71 | { |
79 | .ctl_name = NET_DCCP_DEFAULT_RETRIES1, | ||
80 | .procname = "retries1", | 72 | .procname = "retries1", |
81 | .data = &sysctl_dccp_retries1, | 73 | .data = &sysctl_dccp_retries1, |
82 | .maxlen = sizeof(sysctl_dccp_retries1), | 74 | .maxlen = sizeof(sysctl_dccp_retries1), |
@@ -84,7 +76,6 @@ static struct ctl_table dccp_default_table[] = { | |||
84 | .proc_handler = proc_dointvec, | 76 | .proc_handler = proc_dointvec, |
85 | }, | 77 | }, |
86 | { | 78 | { |
87 | .ctl_name = NET_DCCP_DEFAULT_RETRIES2, | ||
88 | .procname = "retries2", | 79 | .procname = "retries2", |
89 | .data = &sysctl_dccp_retries2, | 80 | .data = &sysctl_dccp_retries2, |
90 | .maxlen = sizeof(sysctl_dccp_retries2), | 81 | .maxlen = sizeof(sysctl_dccp_retries2), |
@@ -92,7 +83,6 @@ static struct ctl_table dccp_default_table[] = { | |||
92 | .proc_handler = proc_dointvec, | 83 | .proc_handler = proc_dointvec, |
93 | }, | 84 | }, |
94 | { | 85 | { |
95 | .ctl_name = NET_DCCP_DEFAULT_TX_QLEN, | ||
96 | .procname = "tx_qlen", | 86 | .procname = "tx_qlen", |
97 | .data = &sysctl_dccp_tx_qlen, | 87 | .data = &sysctl_dccp_tx_qlen, |
98 | .maxlen = sizeof(sysctl_dccp_tx_qlen), | 88 | .maxlen = sizeof(sysctl_dccp_tx_qlen), |