Skip to contentSkip to conversation

e1000: small cleanups

PATCH Pavel Machek 1 participant 1 message Aug 31, 2006 Network drivers

lore
Share & tools
lore
#0 lore raw

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

drivers/net/e1000/e1000_osdep.h +2 -6
index 2d3e8b0..503870c 100644
@@ -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) ( \
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html