summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorAuke Kok <auke\\-jan.h.kok@intel.com>2007-01-18 18:25:18 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-05 22:58:41 +0100
commitbf3cea4d8a1a8deb21d247a0622f1aa54270e0f9 (patch)
tree3bc0c82935a61f9e3167a0a4b20b20f7b75fd17c /drivers/net/e1000
parente1000: simplify case handling gigabit at half duplex (diff)
downloadlinux-bf3cea4d8a1a8deb21d247a0622f1aa54270e0f9.tar.xz
linux-bf3cea4d8a1a8deb21d247a0622f1aa54270e0f9.zip
e1000: clean up debug output defines
Remove unused MSGOUT macro and add "\n" to function debug output. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/e1000_osdep.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/e1000/e1000_osdep.h b/drivers/net/e1000/e1000_osdep.h
index 18afc0c25dac..10af742d8a20 100644
--- a/drivers/net/e1000/e1000_osdep.h
+++ b/drivers/net/e1000/e1000_osdep.h
@@ -48,8 +48,6 @@ typedef enum {
TRUE = 1
} boolean_t;
-#define MSGOUT(S, A, B) printk(KERN_DEBUG S "\n", A, B)
-
#ifdef DBG
#define DEBUGOUT(S) printk(KERN_DEBUG S "\n")
#define DEBUGOUT1(S, A...) printk(KERN_DEBUG S "\n", A)
@@ -58,7 +56,7 @@ typedef enum {
#define DEBUGOUT1(S, A...)
#endif
-#define DEBUGFUNC(F) DEBUGOUT(F)
+#define DEBUGFUNC(F) DEBUGOUT(F "\n")
#define DEBUGOUT2 DEBUGOUT1
#define DEBUGOUT3 DEBUGOUT2
#define DEBUGOUT7 DEBUGOUT3