diff options
author | yzhu1 <Yanjun.Zhu@windriver.com> | 2015-12-03 18:00:55 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-04 00:07:14 -0500 |
commit | ce3ea1c705761fc73ce4a08f301c93fcba39c58a (patch) | |
tree | b66c325695b20ac8327ce025332fe6b464d2f290 /drivers/net/bonding | |
parent | f188b951f33a0464338f94f928338f84fc0e4392 (diff) | |
download | linux-ce3ea1c705761fc73ce4a08f301c93fcba39c58a.tar.bz2 |
net: bonding: remove redudant brackets
It is not necessary to use two brackets. As such, the redudant brackets
are removed.
CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 5a7de43a09f8..fe0e7a6f4d72 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -1379,7 +1379,7 @@ int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev) * the current ifenslave will set the interface down prior to * enslaving it; the old ifenslave will not. */ - if ((slave_dev->flags & IFF_UP)) { + if (slave_dev->flags & IFF_UP) { netdev_err(bond_dev, "%s is up - this may be due to an out of date ifenslave\n", slave_dev->name); res = -EPERM; |