mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
[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:
parent
0efa470363
commit
51dced544e
@ -698,7 +698,6 @@ tty3270_alloc_view(void)
|
||||
if (!tp->freemem_pages)
|
||||
goto out_tp;
|
||||
INIT_LIST_HEAD(&tp->freemem);
|
||||
init_timer(&tp->timer);
|
||||
for (pages = 0; pages < TTY3270_STRING_PAGES; pages++) {
|
||||
tp->freemem_pages[pages] = (void *)
|
||||
__get_free_pages(GFP_KERNEL|GFP_DMA, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user