Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43667
b: refs/heads/master
c: ead568c
h: refs/heads/master
i:
  43665: bc481b3
  43663: 8e61470
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Dec 8, 2006
1 parent 487a2a7 commit 4bbdd2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 171d3a86788eef4f751b88265bac393c3232dbdd
refs/heads/master: ead568c9cdab2592abdbd1f023931665cc24b5db
9 changes: 3 additions & 6 deletions trunk/drivers/char/mxser_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -2994,15 +2994,12 @@ static int __init mxser_module_init(void)

static void __exit mxser_module_exit(void)
{
int i, err;
unsigned int i;

pr_debug("Unloading module mxser ...\n");

err = tty_unregister_driver(mxvar_sdriver);
if (!err)
put_tty_driver(mxvar_sdriver);
else
printk(KERN_ERR "Couldn't unregister MOXA Smartio/Industio family serial driver\n");
tty_unregister_driver(mxvar_sdriver);
put_tty_driver(mxvar_sdriver);

for (i = 0; i < MXSER_BOARDS; i++)
if (mxser_boards[i].board_type != -1)
Expand Down

0 comments on commit 4bbdd2f

Please sign in to comment.