]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] init_timer in tty3270.
authorJan Glauber <jan.glauber@de.ibm.com>
Thu, 28 Sep 2006 14:55:53 +0000 (16:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2006 14:55:53 +0000 (16:55 +0200)
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>
drivers/s390/char/tty3270.c

index 29718042c6c9a669da34d828e046fb636a6f64d1..06e2eeec8473dca2e3ff3c79ae5fab78014eac0c 100644 (file)
@@ -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);