diff options
author | Holger Eitzenberger <holger@eitzenberger.org> | 2008-12-10 02:09:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-10 02:09:22 -0500 |
commit | 5a03cdb7f2d7ff88e50153d8c3b90a1d52dca435 (patch) | |
tree | 2cdaf63b0308afcf259625ea20439840c81d62e5 /drivers/net/bonding/bond_ipv6.c | |
parent | ef65583d01f4060c758dba72f08edc09d8faa719 (diff) |
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 11581da5d930..0d73bf5ac5a5 100644 --- a/drivers/net/bonding/bond_ipv6.c +++ b/drivers/net/bonding/bond_ipv6.c | |||
@@ -20,8 +20,6 @@ | |||
20 | * | 20 | * |
21 | */ | 21 | */ |
22 | 22 | ||
23 | //#define BONDING_DEBUG 1 | ||
24 | |||
25 | #include <linux/types.h> | 23 | #include <linux/types.h> |
26 | #include <linux/if_vlan.h> | 24 | #include <linux/if_vlan.h> |
27 | #include <net/ipv6.h> | 25 | #include <net/ipv6.h> |
@@ -74,7 +72,7 @@ static void bond_na_send(struct net_device *slave_dev, | |||
74 | 72 | ||
75 | addrconf_addr_solict_mult(daddr, &mcaddr); | 73 | addrconf_addr_solict_mult(daddr, &mcaddr); |
76 | 74 | ||
77 | dprintk("ipv6 na on slave %s: dest %pI6, src %pI6\n", | 75 | pr_debug("ipv6 na on slave %s: dest %pI6, src %pI6\n", |
78 | slave_dev->name, &mcaddr, daddr); | 76 | slave_dev->name, &mcaddr, daddr); |
79 | 77 | ||
80 | skb = ndisc_build_skb(slave_dev, &mcaddr, daddr, &icmp6h, daddr, | 78 | skb = ndisc_build_skb(slave_dev, &mcaddr, daddr, &icmp6h, daddr, |
@@ -110,7 +108,7 @@ void bond_send_unsolicited_na(struct bonding *bond) | |||
110 | struct inet6_dev *idev; | 108 | struct inet6_dev *idev; |
111 | int is_router; | 109 | int is_router; |
112 | 110 | ||
113 | dprintk("bond_send_unsol_na: bond %s slave %s\n", bond->dev->name, | 111 | pr_debug("bond_send_unsol_na: bond %s slave %s\n", bond->dev->name, |
114 | slave ? slave->dev->name : "NULL"); | 112 | slave ? slave->dev->name : "NULL"); |
115 | 113 | ||
116 | if (!slave || !bond->send_unsol_na || | 114 | if (!slave || !bond->send_unsol_na || |