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/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 | |||
112 | if (command[0] == '+') { | 112 | if (command[0] == '+') { |
113 | printk(KERN_INFO DRV_NAME | 113 | printk(KERN_INFO DRV_NAME |
114 | ": %s is being created...\n", ifname); | 114 | ": %s is being created...\n", ifname); |
115 | rv = bond_create(ifname, &bonding_defaults); | 115 | rv = bond_create(ifname); |
116 | if (rv) { | 116 | if (rv) { |
117 | printk(KERN_INFO DRV_NAME ": Bond creation failed.\n"); | 117 | printk(KERN_INFO DRV_NAME ": Bond creation failed.\n"); |
118 | res = rv; | 118 | res = rv; |