]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] mxser: remove ambiguous redefinition of INIT_WORK
authorAndreas Jaggi <andreas.jaggi@waterwave.ch>
Sat, 10 Feb 2007 09:44:50 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:25 +0000 (10:51 -0800)
Removes an unused and ambiguous redefinition of INIT_WORK()

Signed-off-by: Andreas Jaggi <andreas.jaggi@waterwave.ch>
Acked-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser.h
drivers/char/mxser_new.h

index 7e188a4d602a7060915a89eda89d95533bfc2636..9fe28497eae9ed51b8780673cd111456b1ff8aec 100644 (file)
 
 #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
index a08f0ecb09ba76deaba83d8aff1ed691621ca850..55b34a0e8cf62a328264e69f86adc427edacdd86 100644 (file)
 
 #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