diff options
author | Ben Pfaff <blp@nicira.com> | 2011-08-05 14:18:06 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-08-08 12:55:43 -0700 |
commit | 18812dff32ce650440b9f1eac1bb00afe08c621a (patch) | |
tree | 1abd453fbc096d8eb300a0f6d514c4d24360e040 /lib/bond.c | |
parent | de5cdb90f7c02d22b0595c7dc311c5306291b02f (diff) |
netdev: Get rid of struct netdev_options and netdev_open_default().
Now that netdev_options only has two members, we might as well pass them
directly as parameters.
Diffstat (limited to 'lib/bond.c')
-rw-r--r-- | lib/bond.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1507,7 +1507,7 @@ bond_update_fake_slave_stats(struct bond *bond) } } - if (!netdev_open_default(bond->name, &bond_dev)) { + if (!netdev_open(bond->name, "system", &bond_dev)) { netdev_set_stats(bond_dev, &bond_stats); netdev_close(bond_dev); } |