Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148763
b: refs/heads/master
c: fcf7581
h: refs/heads/master
i:
  148761: 5764d91
  148759: d8acd8c
v: v3
  • Loading branch information
Martin Schwidefsky committed Jun 12, 2009
1 parent 23fbc31 commit 9ddf315
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 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: a7c65a559ac371a08e67600ae585052441d71392
refs/heads/master: fcf7581f7ca82e63e4e137be77c342a4e4ec8401
15 changes: 0 additions & 15 deletions trunk/drivers/s390/char/tty3270.c
Original file line number Diff line number Diff line change
Expand Up @@ -1754,14 +1754,6 @@ static const struct tty_operations tty3270_ops = {
.set_termios = tty3270_set_termios
};

static void tty3270_notifier(int index, int active)
{
if (active)
tty_register_device(tty3270_driver, index, NULL);
else
tty_unregister_device(tty3270_driver, index);
}

/*
* 3270 tty registration code called from tty_init().
* Most kernel services (incl. kmalloc) are available at this poimt.
Expand Down Expand Up @@ -1796,12 +1788,6 @@ static int __init tty3270_init(void)
return ret;
}
tty3270_driver = driver;
ret = raw3270_register_notifier(tty3270_notifier);
if (ret) {
put_tty_driver(driver);
return ret;

}
return 0;
}

Expand All @@ -1810,7 +1796,6 @@ tty3270_exit(void)
{
struct tty_driver *driver;

raw3270_unregister_notifier(tty3270_notifier);
driver = tty3270_driver;
tty3270_driver = NULL;
tty_unregister_driver(driver);
Expand Down

0 comments on commit 9ddf315

Please sign in to comment.