aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-03-07 22:33:52 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:24:03 -0400
commitcb69cc52364690d7789940c480b3a9490784b680 (patch)
tree725cef0cfc7e43b0826490ccd99769baacf2977d
parentfe067e8ab5e0dc5ca3c54634924c628da92090b4 (diff)
[TCP/DCCP/RANDOM]: Remove unused exports.
This patch removes the following not or no longer used exports: - drivers/char/random.c: secure_tcp_sequence_number - net/dccp/options.c: sysctl_dccp_feat_sequence_window - net/netlink/af_netlink.c: netlink_set_err Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/char/random.c2
-rw-r--r--net/dccp/options.c2
-rw-r--r--net/netlink/af_netlink.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c
index b9dc7aa1dfb3..03af50f900d2 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1556,8 +1556,6 @@ __u32 secure_tcp_sequence_number(__be32 saddr, __be32 daddr,
1556 return seq; 1556 return seq;
1557} 1557}
1558 1558
1559EXPORT_SYMBOL(secure_tcp_sequence_number);
1560
1561/* Generate secure starting point for ephemeral IPV4 transport port search */ 1559/* Generate secure starting point for ephemeral IPV4 transport port search */
1562u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport) 1560u32 secure_ipv4_port_ephemeral(__be32 saddr, __be32 daddr, __be16 dport)
1563{ 1561{
diff --git a/net/dccp/options.c b/net/dccp/options.c
index ca13f7731994..9074ca7977b2 100644
--- a/net/dccp/options.c
+++ b/net/dccp/options.c
@@ -29,8 +29,6 @@ int sysctl_dccp_feat_ack_ratio = DCCPF_INITIAL_ACK_RATIO;
29int sysctl_dccp_feat_send_ack_vector = DCCPF_INITIAL_SEND_ACK_VECTOR; 29int sysctl_dccp_feat_send_ack_vector = DCCPF_INITIAL_SEND_ACK_VECTOR;
30int sysctl_dccp_feat_send_ndp_count = DCCPF_INITIAL_SEND_NDP_COUNT; 30int sysctl_dccp_feat_send_ndp_count = DCCPF_INITIAL_SEND_NDP_COUNT;
31 31
32EXPORT_SYMBOL_GPL(sysctl_dccp_feat_sequence_window);
33
34void dccp_minisock_init(struct dccp_minisock *dmsk) 32void dccp_minisock_init(struct dccp_minisock *dmsk)
35{ 33{
36 dmsk->dccpms_sequence_window = sysctl_dccp_feat_sequence_window; 34 dmsk->dccpms_sequence_window = sysctl_dccp_feat_sequence_window;
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 5890210d7730..350ed1c0e702 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -1828,7 +1828,6 @@ EXPORT_SYMBOL(netlink_broadcast);
1828EXPORT_SYMBOL(netlink_dump_start); 1828EXPORT_SYMBOL(netlink_dump_start);
1829EXPORT_SYMBOL(netlink_kernel_create); 1829EXPORT_SYMBOL(netlink_kernel_create);
1830EXPORT_SYMBOL(netlink_register_notifier); 1830EXPORT_SYMBOL(netlink_register_notifier);
1831EXPORT_SYMBOL(netlink_set_err);
1832EXPORT_SYMBOL(netlink_set_nonroot); 1831EXPORT_SYMBOL(netlink_set_nonroot);
1833EXPORT_SYMBOL(netlink_unicast); 1832EXPORT_SYMBOL(netlink_unicast);
1834EXPORT_SYMBOL(netlink_unregister_notifier); 1833EXPORT_SYMBOL(netlink_unregister_notifier);