diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-06-12 21:02:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-14 08:28:51 +0200 |
commit | d2991f75354941a4cdf61ce7443d21804b978f89 (patch) | |
tree | eb52cc7a67ba92c7f1eaa16dd77b6b46296126aa /drivers/net/bonding/bond_sysfs.c | |
parent | Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/same... (diff) | |
download | linux-d2991f75354941a4cdf61ce7443d21804b978f89.tar.xz linux-d2991f75354941a4cdf61ce7443d21804b978f89.zip |
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; |