aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bonding.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-05-18 00:10:09 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 06:34:21 -0400
commit0dd646fe0549251e79d6fb03e6773bcc6ccea61f (patch)
treef767ff2d0df29a8917b309819123e7873a5c7271 /drivers/net/bonding/bonding.h
parent4b8a9239ee708958ed72722a0e5e0cf34243ad26 (diff)
bonding: Remove redundant argument from bond_create.
While we're fixing the bond_create, I hope it's OK to polish it a bit after the fixes. The third argument is NULL at the first caller and is ignored by the second one, so remove it. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r--drivers/net/bonding/bonding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h
index a3c74e20aa53..0ce7f4ae920f 100644
--- a/drivers/net/bonding/bonding.h
+++ b/drivers/net/bonding/bonding.h
@@ -301,7 +301,7 @@ static inline void bond_unset_master_alb_flags(struct bonding *bond)
301 301
302struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr); 302struct vlan_entry *bond_next_vlan(struct bonding *bond, struct vlan_entry *curr);
303int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); 303int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev);
304int bond_create(char *name, struct bond_params *params, struct bonding **newbond); 304int bond_create(char *name, struct bond_params *params);
305void bond_destroy(struct bonding *bond); 305void bond_destroy(struct bonding *bond);
306int bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev); 306int bond_release_and_destroy(struct net_device *bond_dev, struct net_device *slave_dev);
307int bond_create_sysfs(void); 307int bond_create_sysfs(void);