diff options
author | Holger Eitzenberger <holger@eitzenberger.org> | 2008-12-09 23:09:22 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-09 23:09:22 -0800 |
commit | 5a03cdb7f2d7ff88e50153d8c3b90a1d52dca435 (patch) | |
tree | 2cdaf63b0308afcf259625ea20439840c81d62e5 /drivers/net/bonding/bond_ipv6.c | |
parent | ef65583d01f4060c758dba72f08edc09d8faa719 (diff) | |
download | kernel_samsung_smdk4412-5a03cdb7f2d7ff88e50153d8c3b90a1d52dca435.tar.gz kernel_samsung_smdk4412-5a03cdb7f2d7ff88e50153d8c3b90a1d52dca435.tar.bz2 kernel_samsung_smdk4412-5a03cdb7f2d7ff88e50153d8c3b90a1d52dca435.zip |
bonding: use pr_debug instead of own macros
Use pr_debug() instead of own macros.
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_ipv6.c')
-rw-r--r-- | drivers/net/bonding/bond_ipv6.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/bonding/bond_ipv6.c b/drivers/net/bonding/bond_ipv6.c index 11581da5d93..0d73bf5ac5a 100644 --- a/drivers/net/bonding/bond_ipv6.c +++ b/drivers/net/bonding/bond_ipv6.c @@ -20,8 +20,6 @@ * */ -//#define BONDING_DEBUG 1 - #include <linux/types.h> #include <linux/if_vlan.h> #include <net/ipv6.h> @@ -74,7 +72,7 @@ static void bond_na_send(struct net_device *slave_dev, addrconf_addr_solict_mult(daddr, &mcaddr); - dprintk("ipv6 na on slave %s: dest %pI6, src %pI6\n", + pr_debug("ipv6 na on slave %s: dest %pI6, src %pI6\n", slave_dev->name, &mcaddr, daddr); skb = ndisc_build_skb(slave_dev, &mcaddr, daddr, &icmp6h, daddr, @@ -110,7 +108,7 @@ void bond_send_unsolicited_na(struct bonding *bond) struct inet6_dev *idev; int is_router; - dprintk("bond_send_unsol_na: bond %s slave %s\n", bond->dev->name, + pr_debug("bond_send_unsol_na: bond %s slave %s\n", bond->dev->name, slave ? slave->dev->name : "NULL"); if (!slave || !bond->send_unsol_na || |