]> err.no Git - linux-2.6/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)
commitead568c9cdab2592abdbd1f023931665cc24b5db
treeffb25b4752844881b87749e483f76e1648e0a5d1
parent171d3a86788eef4f751b88265bac393c3232dbdd
[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