Skip to contentSkip to conversation

dynamic debug v2 - convert bonding

PATCH In review Jason Baron 1 participant 1 message Jul 15, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/7 dynamic debug v2 - convert bonding

-convert bonding to dynamic printk

---

 drivers/net/bonding/bonding.h |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
drivers/net/bonding/bonding.h +1 -6
index a3c74e2..28556dd 100644
@@ -29,13 +29,8 @@
 
 #define BOND_MAX_ARP_TARGETS	16
 
-#ifdef BONDING_DEBUG
 #define dprintk(fmt, args...) \
-	printk(KERN_DEBUG     \
-	       DRV_NAME ": %s() %d: " fmt, __FUNCTION__, __LINE__ , ## args )
-#else
-#define dprintk(fmt, args...)
-#endif /* BONDING_DEBUG */
+	pr_debug(DRV_NAME ": %s() %d: " fmt, __FUNCTION__, __LINE__ , ## args)
 
 #define IS_UP(dev)					   \
 	      ((((dev)->flags & IFF_UP) == IFF_UP)	&& \