[PATCH 21/21] drivers/net/tlan.h: Convert printk(KERN_DEBUG to pr_dbg(

From: Joe Perches
Date: Sun Oct 04 2009 - 20:56:48 EST


Removed "TLAN: " prefix from debug printks, it's added by pr_fmt

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
drivers/net/tlan.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/tlan.h b/drivers/net/tlan.h
index 4b82f28..c5a4ad5 100644
--- a/drivers/net/tlan.h
+++ b/drivers/net/tlan.h
@@ -44,7 +44,7 @@
#define TLAN_RECORD 1

#define TLAN_DBG(lvl, format, args...) \
- do { if (debug&lvl) printk(KERN_DEBUG "TLAN: " format, ##args ); } while(0)
+ do { if (debug & lvl) pr_dbg(format, ##args); } while (0)

#define TLAN_DEBUG_GNRL 0x0001
#define TLAN_DEBUG_TX 0x0002
--
1.6.3.1.10.g659a0.dirty

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/