diff options
author | Jan Glauber <jan.glauber@de.ibm.com> | 2006-09-28 10:55:53 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-09-28 10:55:53 -0400 |
commit | 51dced544e3964b684afc99282ceceaa384b16a8 (patch) | |
tree | 7f63cd3491c58e4fb60fd1bce7c5eea887ab42e9 /drivers/s390/char/tty3270.c | |
parent | 0efa470363699ecba49e67cc3c75f46b300f98a4 (diff) |
[S390] init_timer in tty3270.
Call init_timer only once fpr tp->timer in tty3270.
Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/tty3270.c')
-rw-r--r-- | drivers/s390/char/tty3270.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 29718042c6c9..06e2eeec8473 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c | |||
@@ -698,7 +698,6 @@ tty3270_alloc_view(void) | |||
698 | if (!tp->freemem_pages) | 698 | if (!tp->freemem_pages) |
699 | goto out_tp; | 699 | goto out_tp; |
700 | INIT_LIST_HEAD(&tp->freemem); | 700 | INIT_LIST_HEAD(&tp->freemem); |
701 | init_timer(&tp->timer); | ||
702 | for (pages = 0; pages < TTY3270_STRING_PAGES; pages++) { | 701 | for (pages = 0; pages < TTY3270_STRING_PAGES; pages++) { |
703 | tp->freemem_pages[pages] = (void *) | 702 | tp->freemem_pages[pages] = (void *) |
704 | __get_free_pages(GFP_KERNEL|GFP_DMA, 0); | 703 | __get_free_pages(GFP_KERNEL|GFP_DMA, 0); |