aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 05877cb182e7..ef6af1cb7d39 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1119,7 +1119,7 @@ static struct slave *bond_find_best_slave(struct bonding *bond)
1119 int mintime = bond->params.updelay; 1119 int mintime = bond->params.updelay;
1120 int i; 1120 int i;
1121 1121
1122 new_active = old_active = bond->curr_active_slave; 1122 new_active = bond->curr_active_slave;
1123 1123
1124 if (!new_active) { /* there were no active slaves left */ 1124 if (!new_active) { /* there were no active slaves left */
1125 if (bond->slave_cnt > 0) /* found one slave */ 1125 if (bond->slave_cnt > 0) /* found one slave */