[PATCH] Char: moxa, timers cleanup
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:45:27 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:29 +0000 (10:51 -0800)
commitaa7e5221fb47badbea618cc62704d6e4a4bcce15
tree45f9cac3cb2654d2d0f8d31fc2972c1732b98708
parent9fa372a850b9ffcb177eb9ac0b75963b2f9af233
[PATCH] Char: moxa, timers cleanup

Use kernel macros and functions for timer encapsulation -- do not access
fileds directly.  Also del_timer on inactive is legal, so that noting if it
runs is senseless, delete these variables.

Signed-off-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/moxa.c