Skip to content

Commit

Permalink
bonding: trivial: update the comments to reflect the reality
Browse files Browse the repository at this point in the history
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Veaceslav Falico authored and David S. Miller committed May 29, 2013
1 parent 43547ea commit d6641cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/net/bonding/bond_sysfs.c
Original file line number Diff line number Diff line change
@@ -231,8 +231,7 @@ static ssize_t bonding_show_slaves(struct device *d,
}

/*
* Set the slaves in the current bond. The bond interface must be
* up for this to succeed.
* Set the slaves in the current bond.
* This is supposed to be only thin wrapper for bond_enslave and bond_release.
* All hard work should be done there.
*/
@@ -363,7 +362,6 @@ static DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,

/*
* Show and set the bonding transmit hash method.
* The bond interface must be down to change the xmit hash policy.
*/
static ssize_t bonding_show_xmit_hash(struct device *d,
struct device_attribute *attr,

0 comments on commit d6641cc

Please sign in to comment.