diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-06-12 19:02:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-13 23:28:51 -0700 |
commit | d2991f75354941a4cdf61ce7443d21804b978f89 (patch) | |
tree | eb52cc7a67ba92c7f1eaa16dd77b6b46296126aa /drivers/net/bonding/bond_sysfs.c | |
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/bond_sysfs.c')
-rw-r--r-- | drivers/net/bonding/bond_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index 5fb861a08664..1172fe649352 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c @@ -112,7 +112,7 @@ static ssize_t bonding_store_bonds(struct class *cls, const char *buffer, size_t if (command[0] == '+') { printk(KERN_INFO DRV_NAME ": %s is being created...\n", ifname); - rv = bond_create(ifname, &bonding_defaults); + rv = bond_create(ifname); if (rv) { printk(KERN_INFO DRV_NAME ": Bond creation failed.\n"); res = rv; |