]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Char: mxser_new, don't check tty_unregister retval
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:26 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:54 +0000 (08:28 -0800)
commit4c69b096b065fc925a76862a49f111b42c147f4f
treeffb25b4752844881b87749e483f76e1648e0a5d1
parentabcb6a642617935b8970ae83a7f1d9ba22d73110
[PATCH] Char: mxser_new, don't check tty_unregister retval

Like other drivers silently unregister_tty_driver and put_tty_driver.  It
shouldn't be busy when module release function is called, since we are not
bsd, no refs shouldn't be held.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser_new.c