From: yzhu1 Date: Thu, 3 Dec 2015 10:00:55 +0000 (+0800) Subject: net: bonding: remove redudant brackets X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ce3ea1c705761fc73ce4a08f301c93fcba39c58a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: bonding: remove redudant brackets It is not necessary to use two brackets. As such, the redudant brackets are removed. CC: Jay Vosburgh CC: Veaceslav Falico CC: Andy Gospodarek Signed-off-by: Zhu Yanjun Signed-off-by: David S. Miller --- 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;