Skip to contentSkip to conversation

remove ambiguous redefinition of INIT_WORK

PATCH In review Andreas Jaggi 2 participants 2 messages Dec 15, 2006

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

PATCH 1/1 remove ambiguous redefinition of INIT_WORK

Removes an unused and ambiguous redefinition of INIT_WORK()

--

drivers/char/mxser.h +0 -8
index 7e188a4..9fe2849 100644
@@ -439,12 +439,4 @@
 
 #define READ_MOXA_MUST_GDL(baseio)	inb((baseio)+MOXA_MUST_GDL_REGISTER)
 
-
-#ifndef INIT_WORK
-#define INIT_WORK(_work, _func, _data){	\
-	_data->tqueue.routine = _func;\
-	_data->tqueue.data = _data;\
-	}
-#endif
-
 #endif
drivers/char/mxser_new.h +0 -8
index a08f0ec..55b34a0 100644
@@ -439,12 +439,4 @@
 
 #define READ_MOXA_MUST_GDL(baseio)	inb((baseio)+MOXA_MUST_GDL_REGISTER)
 
-
-#ifndef INIT_WORK
-#define INIT_WORK(_work, _func, _data){	\
-	_data->tqueue.routine = _func;\
-	_data->tqueue.data = _data;\
-	}
-#endif
-
 #endif