]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9a071b7f83a4e3ddf6e909b966f0a086947be2fa
tree45f9cac3cb2654d2d0f8d31fc2972c1732b98708
parent8f6e79dd42fe4436f7ac127a209fb000022b17fa
[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