linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* e1000: small cleanups
@ 2006-08-31 12:27 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2006-08-31 12:27 UTC (permalink / raw)
  To: Andrew Morton, kernel list, john.ronciak, jesse.brandeburg,
	jeffrey.t.kirsher, auke-jan.h.kok


Kill unneccessary macros and fix whitespace... e1000_osdep should just
die, but it is a bit soon for that :-(.

Signed-off-by: Pavel Machek <pavel@suse.cz>

diff --git a/drivers/net/e1000/e1000_osdep.h b/drivers/net/e1000/e1000_osdep.h
index 2d3e8b0..503870c 100644
--- a/drivers/net/e1000/e1000_osdep.h
+++ b/drivers/net/e1000/e1000_osdep.h
@@ -43,7 +43,7 @@
 #include <linux/sched.h>
 
 #ifndef msec_delay
-#define msec_delay(x)	do { if(in_interrupt()) { \
+#define msec_delay(x)	do { if (in_interrupt()) { \
 				/* Don't mdelay in interrupt context! */ \
 	                	BUG(); \
 			} else { \
@@ -68,8 +68,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)
@@ -79,9 +77,7 @@ typedef enum {
 #endif
 
 #define DEBUGFUNC(F) DEBUGOUT(F)
-#define DEBUGOUT2 DEBUGOUT1
-#define DEBUGOUT3 DEBUGOUT2
-#define DEBUGOUT7 DEBUGOUT3
+#define DEBUGOUT7 DEBUGOUT1
 
 
 #define E1000_WRITE_REG(a, reg, value) ( \

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-31 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-31 12:27 e1000: small cleanups Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).