diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-06-12 15:02:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-14 02:28:51 -0400 |
commit | d2991f75354941a4cdf61ce7443d21804b978f89 (patch) | |
tree | eb52cc7a67ba92c7f1eaa16dd77b6b46296126aa /drivers/net/bonding/bonding.h | |
parent | 9d794a0c1dbb9551d870683bca0744624db353ed (diff) |
bonding: bond_create always called with default parameters
bond_create() is always called with same parameters so move the argument
down.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 41ceca12c68f..a6efa0963717 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -321,7 +321,7 @@ static inline void bond_unset_master_alb_flags(struct bonding *bond) | |||
321 | 321 | ||
322 | struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); | 322 | struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); |
323 | int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); | 323 | int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); |
324 | int bond_create(char *name, struct bond_params *params); | 324 | int bond_create(const char *name); |
325 | void bond_destroy(struct bonding *bond); | 325 | void bond_destroy(struct bonding *bond); |
326 | int bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev); | 326 | int bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev); |
327 | int bond_create_sysfs(void); | 327 | int bond_create_sysfs(void); |
@@ -349,7 +349,6 @@ extern const struct bond_parm_tbl bond_mode_tbl[]; | |||
349 | extern const struct bond_parm_tbl xmit_hashtype_tbl[]; | 349 | extern const struct bond_parm_tbl xmit_hashtype_tbl[]; |
350 | extern const struct bond_parm_tbl arp_validate_tbl[]; | 350 | extern const struct bond_parm_tbl arp_validate_tbl[]; |
351 | extern const struct bond_parm_tbl fail_over_mac_tbl[]; | 351 | extern const struct bond_parm_tbl fail_over_mac_tbl[]; |
352 | extern struct bond_params bonding_defaults; | ||
353 | extern struct bond_parm_tbl ad_select_tbl[]; | 352 | extern struct bond_parm_tbl ad_select_tbl[]; |
354 | 353 | ||
355 | /* exported from bond_sysfs.c */ | 354 | /* exported from bond_sysfs.c */ |