提交 51dced54 编写于 作者: J Jan Glauber 提交者: Martin Schwidefsky

[S390] init_timer in tty3270.

Call init_timer only once fpr tp->timer in tty3270.
Signed-off-by: NJan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册