Skip to content

Commit

Permalink
[PATCH] mxser: remove ambiguous redefinition of INIT_WORK
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Jaggi authored and Linus Torvalds committed Feb 11, 2007
1 parent 37756ce commit a356995
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions drivers/char/mxser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 0 additions & 8 deletions drivers/char/mxser_new.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a356995

Please sign in to comment.