aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 36e89e310e8a..f2da031fd7ba 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3221,7 +3221,6 @@ static void bond_info_show_master(struct seq_file *seq)
3221 struct bonding *bond = seq->private; 3221 struct bonding *bond = seq->private;
3222 struct slave *curr; 3222 struct slave *curr;
3223 int i; 3223 int i;
3224 u32 target;
3225 3224
3226 read_lock(&bond->curr_slave_lock); 3225 read_lock(&bond->curr_slave_lock);
3227 curr = bond->curr_active_slave; 3226 curr = bond->curr_active_slave;
@@ -3275,8 +3274,7 @@ static void bond_info_show_master(struct seq_file *seq)
3275 continue; 3274 continue;
3276 if (printed) 3275 if (printed)
3277 seq_printf(seq, ","); 3276 seq_printf(seq, ",");
3278 target = ntohl(bond->params.arp_targets[i]); 3277 seq_printf(seq, " %pI4", &bond->params.arp_targets[i]);
3279 seq_printf(seq, " %d.%d.%d.%d", HIPQUAD(target));
3280 printed = 1; 3278 printed = 1;
3281 } 3279 }
3282 seq_printf(seq, "\n"); 3280 seq_printf(seq, "\n");