[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>
This commit is contained in:
committed by
Martin Schwidefsky
parent
0efa470363
commit
51dced544e
@@ -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);
|
||||||
|
Reference in New Issue
Block a user