Commit 51dced54 authored by Jan Glauber's avatar Jan Glauber Committed by Martin Schwidefsky
Browse files

[S390] init_timer in tty3270.



Call init_timer only once fpr tp->timer in tty3270.
Signed-off-by: default avatarJan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 0efa4703
...@@ -698,7 +698,6 @@ tty3270_alloc_view(void) ...@@ -698,7 +698,6 @@ tty3270_alloc_view(void)
if (!tp->freemem_pages) if (!tp->freemem_pages)
goto out_tp; goto out_tp;
INIT_LIST_HEAD(&tp->freemem); INIT_LIST_HEAD(&tp->freemem);
init_timer(&tp->timer);
for (pages = 0; pages < TTY3270_STRING_PAGES; pages++) { for (pages = 0; pages < TTY3270_STRING_PAGES; pages++) {
tp->freemem_pages[pages] = (void *) tp->freemem_pages[pages] = (void *)
__get_free_pages(GFP_KERNEL|GFP_DMA, 0); __get_free_pages(GFP_KERNEL|GFP_DMA, 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment