From: Jan Glauber Date: Thu, 28 Sep 2006 14:55:53 +0000 (+0200) Subject: [S390] init_timer in tty3270. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=51dced544e3964b684afc99282ceceaa384b16a8;p=linux-beck.git [S390] init_timer in tty3270. Call init_timer only once fpr tp->timer in tty3270. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 29718042c6c9..06e2eeec8473 100644 --- a/drivers/s390/char/tty3270.c +++ b/drivers/s390/char/tty3270.c @@ -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);