bonding: combine pr_debugs in bond_set_dev_addr into one
authorNikolay Aleksandrov <nikolay@redhat.com>
Sat, 29 Jun 2013 11:16:59 +0000 (13:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2013 19:37:08 +0000 (12:37 -0700)
Combine the multiple pr_debugs in bond_set_dev_addr into one pr_debug.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c

index ec44580b076f814621430b70c9964e698923cba9..742c193881fa2aec3052a027ea48887fb8891c17 100644 (file)
@@ -843,9 +843,8 @@ static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active,
 static void bond_set_dev_addr(struct net_device *bond_dev,
                              struct net_device *slave_dev)
 {
-       pr_debug("bond_dev=%p\n", bond_dev);
-       pr_debug("slave_dev=%p\n", slave_dev);
-       pr_debug("slave_dev->addr_len=%d\n", slave_dev->addr_len);
+       pr_debug("bond_dev=%p slave_dev=%p slave_dev->addr_len=%d\n",
+                bond_dev, slave_dev, slave_dev->addr_len);
        memcpy(bond_dev->dev_addr, slave_dev->dev_addr, slave_dev->addr_len);
        bond_dev->addr_assign_type = NET_ADDR_STOLEN;
        call_netdevice_notifiers(NETDEV_CHANGEADDR, bond_dev);