diff options
author | Holger Eitzenberger <holger@eitzenberger.org> | 2008-12-17 22:12:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-17 22:12:40 -0500 |
commit | a6ae186b9a950f4d0467cb9c3661965f442176de (patch) | |
tree | cb5ce637a5c8fe0a3542425c70a51a950668572f /drivers/net/bonding/bond_3ad.c | |
parent | c7e703d01ecfb8db1557090938f0eabb51ebe3a1 (diff) |
bonding: remove various function declarations
They are all defined before used, it's therefore ok to remove
them.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_3ad.c')
-rw-r--r-- | drivers/net/bonding/bond_3ad.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/net/bonding/bond_3ad.c b/drivers/net/bonding/bond_3ad.c index f659f97140c7..f27f62711eb4 100644 --- a/drivers/net/bonding/bond_3ad.c +++ b/drivers/net/bonding/bond_3ad.c | |||
@@ -95,34 +95,6 @@ static struct mac_addr null_mac_addr = {{0, 0, 0, 0, 0, 0}}; | |||
95 | static u16 ad_ticks_per_sec; | 95 | static u16 ad_ticks_per_sec; |
96 | static const int ad_delta_in_ticks = (AD_TIMER_INTERVAL * HZ) / 1000; | 96 | static const int ad_delta_in_ticks = (AD_TIMER_INTERVAL * HZ) / 1000; |
97 | 97 | ||
98 | // ================= 3AD api to bonding and kernel code ================== | ||
99 | static u16 __get_link_speed(struct port *port); | ||
100 | static u8 __get_duplex(struct port *port); | ||
101 | static inline void __initialize_port_locks(struct port *port); | ||
102 | //conversions | ||
103 | static u16 __ad_timer_to_ticks(u16 timer_type, u16 Par); | ||
104 | |||
105 | |||
106 | // ================= ad code helper functions ================== | ||
107 | //needed by ad_rx_machine(...) | ||
108 | static void __record_pdu(struct lacpdu *lacpdu, struct port *port); | ||
109 | static void __record_default(struct port *port); | ||
110 | static void __update_selected(struct lacpdu *lacpdu, struct port *port); | ||
111 | static void __update_default_selected(struct port *port); | ||
112 | static void __choose_matched(struct lacpdu *lacpdu, struct port *port); | ||
113 | static void __update_ntt(struct lacpdu *lacpdu, struct port *port); | ||
114 | |||
115 | //needed for ad_mux_machine(..) | ||
116 | static void __attach_bond_to_agg(struct port *port); | ||
117 | static void __detach_bond_from_agg(struct port *port); | ||
118 | static int __agg_ports_are_ready(struct aggregator *aggregator); | ||
119 | static void __set_agg_ports_ready(struct aggregator *aggregator, int val); | ||
120 | |||
121 | //needed for ad_agg_selection_logic(...) | ||
122 | static u32 __get_agg_bandwidth(struct aggregator *aggregator); | ||
123 | static struct aggregator *__get_active_agg(struct aggregator *aggregator); | ||
124 | |||
125 | |||
126 | // ================= main 802.3ad protocol functions ================== | 98 | // ================= main 802.3ad protocol functions ================== |
127 | static int ad_lacpdu_send(struct port *port); | 99 | static int ad_lacpdu_send(struct port *port); |
128 | static int ad_marker_send(struct port *port, struct bond_marker *marker); | 100 | static int ad_marker_send(struct port *port, struct bond_marker *marker); |