net: bonding: remove redudant brackets
Subsystems (3)
PATCH 1/1 net: bonding: remove redudant brackets
From: yzhu1 <[email protected]>
It is not necessary to use two brackets. As such, the redudant brackets are removed.
CC Jay Vosburgh <[email protected]>
CC Veaceslav Falico <[email protected]>
CC Andy Gospodarek <[email protected]>
Signed-off-by yzhu1 <[email protected]>
--- drivers/net/bonding/bond_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/bonding/bond_main.c +1 -1
@@ -1351,7 +1351,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 ;
Signature · 1 line
1.7.9.5
David Miller
maintainerFrom: <[email protected]>
Date: Wed, 9 Dec 2015 11:30:42 +0800
Quoted 9 lines
From: yzhu1 <[email protected]>
It is not necessary to use two brackets. As such, the redudant brackets are removed.
CC Jay Vosburgh <[email protected]>CC Veaceslav Falico <[email protected]>CC Andy Gospodarek <[email protected]>Signed-off-by yzhu1 <[email protected]>
Does not apply to the net-next tree.
Quoted 7 lines · David Miller
From: <[email protected]>
Quoted 3 lines
From: yzhu1 <[email protected]>
Signed-off-by yzhu1 <[email protected]>Does not apply to the net-next tree.
Also three different emails ...