aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-06-12 15:02:44 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-14 02:28:51 -0400
commitd2991f75354941a4cdf61ce7443d21804b978f89 (patch)
treeeb52cc7a67ba92c7f1eaa16dd77b6b46296126aa /drivers/net/bonding/bonding.h
parent9d794a0c1dbb9551d870683bca0744624db353ed (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.h3
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
322struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); 322struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr);
323int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); 323int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
324int bond_create(char *name, struct bond_params *params); 324int bond_create(const char *name);
325void bond_destroy(struct bonding *bond); 325void bond_destroy(struct bonding *bond);
326int bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev); 326int bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev);
327int bond_create_sysfs(void); 327int bond_create_sysfs(void);
@@ -349,7 +349,6 @@ extern const struct bond_parm_tbl bond_mode_tbl[];
349extern const struct bond_parm_tbl xmit_hashtype_tbl[]; 349extern const struct bond_parm_tbl xmit_hashtype_tbl[];
350extern const struct bond_parm_tbl arp_validate_tbl[]; 350extern const struct bond_parm_tbl arp_validate_tbl[];
351extern const struct bond_parm_tbl fail_over_mac_tbl[]; 351extern const struct bond_parm_tbl fail_over_mac_tbl[];
352extern struct bond_params bonding_defaults;
353extern struct bond_parm_tbl ad_select_tbl[]; 352extern struct bond_parm_tbl ad_select_tbl[];
354 353
355/* exported from bond_sysfs.c */ 354/* exported from bond_sysfs.c */